nix-config/modules/home/vim/after/ftplugin/json.vim
Bruno BELANYI 811a9f44c5
All checks were successful
ci/woodpecker/push/check Pipeline was successful
home: vim: ftplugin: add json
2024-05-10 09:36:09 +00:00

7 lines
206 B
VimL

" 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<'