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

7 lines
205 B
VimL
Raw Normal View History

2022-10-26 14:14:01 +02:00
" Create the `b:undo_ftplugin` variable if it doesn't exist
call ftplugined#check_undo_ft()
" Use a small indentation value on Nix files
setlocal shiftwidth=2
let b:undo_ftplugin.='|setlocal shiftwidth<'