diff options
Diffstat (limited to 'ftplugin/puppet.vim')
-rw-r--r-- | ftplugin/puppet.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ftplugin/puppet.vim b/ftplugin/puppet.vim index 5316cf5e..a57fe491 100644 --- a/ftplugin/puppet.vim +++ b/ftplugin/puppet.vim @@ -18,9 +18,11 @@ setlocal softtabstop=2 setlocal shiftwidth=2 setlocal expandtab setlocal keywordprg=puppet\ describe\ --providers -setlocal iskeyword=:,@,48-57,_,192-255 setlocal comments=sr:/*,mb:*,ex:*/,b:# setlocal commentstring=#\ %s +" adding : to iskeyword is tempting in order to make word movements skip over a +" full resource name, however since : is used in many non-keyword contexts it +" is a bad idea to add it to the option. setlocal formatoptions-=t formatoptions+=croql setlocal formatexpr=puppet#format#Format() |