aboutsummaryrefslogtreecommitdiff
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
parentc38fa0f0b8ffa69046c55d7614534fa30bf54803 (diff)
downloaddotfiles-b78d7ec711bdf8c6d2e71c46df08e502e7324f59.tar.gz
dotfiles-b78d7ec711bdf8c6d2e71c46df08e502e7324f59.zip
Add TCL shebang handling
-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