Add scons ftdetect script

This commit is contained in:
Eryn Wells 2014-03-07 10:50:01 -08:00
parent 65ea45962b
commit a1da1eb1e2

16
vim/ftdetect/scons.vim Normal file
View 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