Or, if you have filetype autodetection turned on, you can use:
autocmd BufRead *.t set filetype=perlThis will trigger the FileType event which is used to load syntax files, etc. See :help filetype for details.
In reply to Re: Re: VIM syntax highlighting in test scripts
by knowmad
in thread Editing features for advanced users
by gmax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |