Skip to content
LStinson edited this page Aug 22, 2011 · 3 revisions

tcl.vim is a heavily modified version of an older tcl.vim I found on www.vim.org. I ripped out everything referencing Tk as I don't use it. (I have no interest in GUI programming.) The highlighting has been modified and fixed in many locations. This file is very much a work-in-progress. I am also working on adding support for Jim TCL extensions.

I have added embedded Perl POD highlighting. I have been using POD for years for documentation. It is extremely simple and has converters to several formats. POD is recognized inside "if {0} {}" comments and via a dummy function (which you could make use of if you want) called pod_doc. See the following screen shots for what the code looks like and the output from Tcl and POD.

TCL with POD

TCL and POD output

Clone this wiki locally