highlight wscript as python

This commit is contained in:
Josh Holtrop 2016-01-20 15:40:19 -05:00
parent 69177c8014
commit 26b4bdb905

1
vimrc
View File

@ -126,6 +126,7 @@ if has("autocmd")
autocmd BufNewFile,BufReadPre *.h.erb let b:eruby_subtype = "c" autocmd BufNewFile,BufReadPre *.h.erb let b:eruby_subtype = "c"
autocmd BufNewFile,BufRead *.[ch].erb setlocal sw=4 ts=4 sts=4 autocmd BufNewFile,BufRead *.[ch].erb setlocal sw=4 ts=4 sts=4
autocmd BufRead,BufNewFile *.oil,*.OIL set filetype=oil autocmd BufRead,BufNewFile *.oil,*.OIL set filetype=oil
autocmd BufRead,BufNewFile wscript setf python
autocmd BufEnter * if bufname('%') == '' | set bufhidden=wipe | endif autocmd BufEnter * if bufname('%') == '' | set bufhidden=wipe | endif