Add autocmd group for SCons files
This commit is contained in:
parent
cab3c3a7ca
commit
ab977b49bc
1 changed files with 5 additions and 0 deletions
5
vimrc
5
vimrc
|
@ -303,6 +303,11 @@ if has('autocmd')
|
|||
autocmd FileType c,cpp,objc call <SID>strip_trailing_whitespace()
|
||||
autocmd FileType html,css call <SID>strip_trailing_whitespace()
|
||||
augroup END
|
||||
|
||||
augroup SConsFileType
|
||||
autocmd!
|
||||
autocmd BufRead SCons{truct,cript} setf python
|
||||
augroup END
|
||||
endif
|
||||
" }}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue