home: vim: add 'nix' ftplugin
This commit is contained in:
parent
e0b7103c8d
commit
3c3e56002f
6
home/vim/after/ftplugin/nix.vim
Normal file
6
home/vim/after/ftplugin/nix.vim
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
" 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<'
|
Loading…
Reference in a new issue