From a1da1eb1e2810c6fa7e05183c16c3562901f7229 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 7 Mar 2014 10:50:01 -0800 Subject: [PATCH] Add scons ftdetect script --- vim/ftdetect/scons.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vim/ftdetect/scons.vim diff --git a/vim/ftdetect/scons.vim b/vim/ftdetect/scons.vim new file mode 100644 index 0000000..35f4fb0 --- /dev/null +++ b/vim/ftdetect/scons.vim @@ -0,0 +1,16 @@ +" Vim filetype plugin file +" Language: SCons files +" Maintainer: Eryn Wells +" 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