https://github.com/weiss/textgenshi.vim
Syntax Highlighting for Genshi Text Templates in Vim
https://github.com/weiss/textgenshi.vim
Last synced: 3 months ago
JSON representation
Syntax Highlighting for Genshi Text Templates in Vim
- Host: GitHub
- URL: https://github.com/weiss/textgenshi.vim
- Owner: weiss
- Created: 2011-07-27T13:53:15.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-08-14T14:13:28.000Z (almost 14 years ago)
- Last Synced: 2025-02-13T06:43:04.223Z (5 months ago)
- Language: VimL
- Homepage: http://www.vim.org/scripts/script.php?script_id=3672
- Size: 82 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Syntax Highlighting for Genshi Text Templates in Vim
----------------------------------------------------In order to add syntax highlighting for Genshi_ `text templates`_ to Vim_, move
the `textgenshi.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.. References
.. _Vim:
http://www.vim.org/
.. _Genshi:
http://genshi.edgewall.org/
.. _XML templates:
http://genshi.edgewall.org/wiki/Documentation/xml-templates.html
.. _text templates:
http://genshi.edgewall.org/wiki/Documentation/text-templates.html
.. _textgenshi.vim:
https://raw.github.com/weiss/textgenshi.vim/master/syntax/textgenshi.vim