[ADD][VIM] YAML filetype configuration
This commit is contained in:
parent
603668560c
commit
3923fb230c
6
vim/.vim/after/ftplugin/yaml.vim
Normal file
6
vim/.vim/after/ftplugin/yaml.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 YAML files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
Loading…
Reference in a new issue