(adjust Template:ScriptComments to remove id as no longer needed; minor tweaks) |
(Change <tt> to <code>, perhaps also minor tweak.) |
||
Line 2: | Line 2: | ||
==Comments== |
==Comments== |
||
− | If you add the following line to file < |
+ | If you add the following line to file <code>.vim/filtetype.vim</code> |
<pre> |
<pre> |
||
au BufNewFile,BufRead *.tt setf tt |
au BufNewFile,BufRead *.tt setf tt |
||
</pre> |
</pre> |
||
− | then you don't need to enter < |
+ | then you don't need to enter <code>:set syntax=tt</code> everytime you open the .tt-file, it will automatically be loaded. |
Latest revision as of 09:44, 14 July 2012
Use this page to discuss script 2135 tt: syntax highlighting for tintin/tt++
- Add constructive comments, bug reports, or discuss improvements (see the guideline).
- Do not document the script here (the author should do that on vim.org).
- This page may be out of date: check the script's vim.org page above, and its release notes.
Comments[]
If you add the following line to file .vim/filtetype.vim
au BufNewFile,BufRead *.tt setf tt
then you don't need to enter :set syntax=tt
everytime you open the .tt-file, it will automatically be loaded.