I recently rewrote the Tcl syntax while fixing some bugs. I’d appreciate some feedback from people who work with Tcl regularly. Improvements include:
- Better handling of nesting strings, curly braces, substitutions
- Highlighting of user command names
- Highlighting of numeric literals
- Improved handling of
proc
arguments - Inclusion of namespace names in the symbol list
- Scopes consistently applied to
{
,}
,[
and]
for more control with color schemes
You can grab the latest syntax from https://github.com/sublimehq/Packages/tree/tcl-rewrite. See https://github.com/sublimehq/Packages#readme for general install instructions.
Please open issues for problems at https://github.com/sublimehq/Packages/issues.