Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weiss/textgenshi.vim
Syntax Highlighting for Genshi Text Templates in Vim
https://github.com/weiss/textgenshi.vim
Last synced: 14 days 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 (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-14T14:13:28.000Z (over 13 years ago)
- Last Synced: 2024-10-11T01:44:35.950Z (about 1 month 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