diff options
Diffstat (limited to 'init.vim')
| -rw-r--r-- | init.vim | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -118,6 +118,7 @@ set shiftwidth=4 set noexpandtab + autocmd Filetype python call SetPythonOptions() autocmd Filetype htmldjango call SethtmldjangoOptions() autocmd Filetype json call SetJsonOptions() @@ -195,6 +196,9 @@ function SetYamlOptions() set noic endfunction +" This is specifically for Salt's state files 'sls' +autocmd BufNewFile,BufRead *.sls set filetype=yaml + function! PhpSyntaxOverride() hi! def link phpDocTags phpDefine |
