Add scons ftdetect script
This commit is contained in:
parent
65ea45962b
commit
a1da1eb1e2
1 changed files with 16 additions and 0 deletions
16
vim/ftdetect/scons.vim
Normal file
16
vim/ftdetect/scons.vim
Normal file
|
@ -0,0 +1,16 @@
|
|||
" Vim filetype plugin file
|
||||
" Language: SCons files
|
||||
" Maintainer: Eryn Wells <eryn@erynwells.me>
|
||||
" Version: 0.1
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_scons_ftplugin")
|
||||
finish
|
||||
endif
|
||||
" Don't load another plug-in for this buffer
|
||||
let b:did_scons_ftplugin = 1
|
||||
|
||||
augroup filetype_scons
|
||||
autocmd!
|
||||
autocmd BufNewFile,BufRead SCons{truct,cript} set ft=python
|
||||
augroup END
|
Loading…
Add table
Add a link
Reference in a new issue