Entry tags:
vim syntax highlighting for TT
If you use vim and you are editing TT files, and you don't have syntax highlighting set up, here's how to do it:
Grab this file and save it to ~/.vim/syntax/
One way to do that would be:
Then add the following to your ~/.vimrc file:
Now everything should be much more readable!
Grab this file and save it to ~/.vim/syntax/
One way to do that would be:
wget https://raw.github.com/vim-perl/vim-perl/master/syntax/tt2.vim ~/.vim/syntax/
Then add the following to your ~/.vimrc file:
"syntax highlighting for TT au BufNewFile,BufRead *.tt setf tt2 :let b:tt2_syn_tags = '\[% %] <!-- -->'
Now everything should be much more readable!