/ Published in: Bash

This allows you to use perl syntax highlighting in vi for test scripts that use the ".t" file extension
Expand |
Embed | Plain Text
Ensure you have a ~/.vim directory Ensure you have a ~/.vim/ftdetect directory Create the file ~/.vim/ftdetect/t.vim with this as the contents: " definition file for testing scripts au BufNewFile,BufRead *.t set filetype=perl
You need to login to post a comment.