/ 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
                            
                        
                        Copy this code and paste it in your HTML
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
Comments
 Subscribe to comments
                    Subscribe to comments
                
                