in reply to VIM syntax highlighting in test scripts
in thread Editing features for advanced users
Or, if you don't want to add that to the top of every test script, you can make vim understand that *.t files are perl by adding this to your .vimrc:
autocmd BufRead *.t set syntax=perl
This also has the advantage of having hilighting already turned on when you are editing a new file that you haven't added the vim comment to yet.
We're not surrounded, we're in a target-rich environment! |
---|
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: VIM syntax highlighting in test scripts
by knowmad (Monk) on Jun 12, 2003 at 00:56 UTC | |
by electrosphere (Beadle) on Jan 19, 2010 at 12:42 UTC |
In Section
Meditations