aboutsummaryrefslogtreecommitdiff
path: root/vim/scripts.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-11 22:58:26 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-11 22:58:26 +1200
commitb78d7ec711bdf8c6d2e71c46df08e502e7324f59 (patch)
treeca099bbac10c206219f4a3f4bc9134ce5abf6539 /vim/scripts.vim
parentLots of extension to filetype.vim (diff)
downloaddotfiles-b78d7ec711bdf8c6d2e71c46df08e502e7324f59.tar.gz
dotfiles-b78d7ec711bdf8c6d2e71c46df08e502e7324f59.zip
Add TCL shebang handling
Diffstat (limited to 'vim/scripts.vim')
-rw-r--r--vim/scripts.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/scripts.vim b/vim/scripts.vim
index 6a39633e..d179fde5 100644
--- a/vim/scripts.vim
+++ b/vim/scripts.vim
@@ -49,4 +49,8 @@ elseif s:line =~# '\m\<sh\>'
let b:is_posix = 1
setfiletype sh
+" TCL
+elseif s:line =~# '\m\<\(tcl\|wish\)\>'
+ setfiletype tcl
+
endif