2012-12-02

denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
[staff profile] denise2012-12-02 10:33 am
Entry tags:

Supplemental code tour

After [personal profile] swaldman did the code tour of things to be included in last night's push, we had a few additional patches committed. So, consider this the Supplemental Code Tour.

Most of these are live (with the exception of the two payments-related bugs I sweet-talked Mark into doing last night while he was on a coding roll).

Expand13 bugs )
[personal profile] swaldman2012-12-02 09:05 pm
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:
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!