diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2017-09-11 11:15:57 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2017-09-11 11:15:57 -0400 |
| commit | 607727f0793d7ccea12770db91a0868c27877afd (patch) | |
| tree | b1aa77ebd67c6c8a167b40581dd6e7cd7b775b49 | |
| parent | 313a9855e4195205f949a9c0afbbdb4af8fbaca2 (diff) | |
| download | vim-cfg-607727f0793d7ccea12770db91a0868c27877afd.tar.gz vim-cfg-607727f0793d7ccea12770db91a0868c27877afd.tar.xz | |
Salt states should use YAML filetype
| -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 |
