nix-config/modules/home/vim/after/ftplugin/json.vim

7 lines
206 B
VimL
Raw Normal View History

2024-05-10 11:35:47 +02:00
" Create the `b:undo_ftplugin` variable if it doesn't exist
call ftplugined#check_undo_ft()
" Use a small indentation value on JSON files
setlocal shiftwidth=2
let b:undo_ftplugin.='|setlocal shiftwidth<'