textgenshi.vim : Syntax Highlighting for Genshi Text Templates
| script karma |
Rating 4/1,
Downloaded by 1004 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Holger Weiß |
| |
| script type |
| syntax |
| |
| description |
This file adds syntax highlighting for Genshi plain text templates (see vimscript #1869 for XML template support).
See: http://genshi.edgewall.org/wiki/Documentation/text-templates.html |
| |
| install details |
Copy the genshi.vim file into the ~/.vim/syntax/ directory. If your text templates have a ".genshi" file extension (and your XML templates don't), you could add the following lines to your ~/.vim/filetype.vim in order to auto-detect them::
augroup filetypedetect
autocmd BufNewFile,BufRead *.genshi setfiletype textgenshi
augroup END |
| |
script versions (upload new version)
Click on the package to download.
| textgenshi.vim |
1.1 |
2011-08-13 |
6.0 |
Holger Weiß |
We now use the name "textgenshi" instead of "genshi" in order to avoid conflicts with syntax definitions for Genshi XML templates. Apart from that, some minor bugs have been fixed. |
| genshi.vim |
1.0 |
2011-07-27 |
6.0 |
Holger Weiß |
Initial upload |
ip used for rating: 216.73.216.130
|