Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sophacles/vim-bundle-mako
A collection of vim scripts for the mako templating engine, in a vim bundle form (usable with pathogen.vim)
https://github.com/sophacles/vim-bundle-mako
Last synced: 15 days ago
JSON representation
A collection of vim scripts for the mako templating engine, in a vim bundle form (usable with pathogen.vim)
- Host: GitHub
- URL: https://github.com/sophacles/vim-bundle-mako
- Owner: sophacles
- Created: 2010-08-19T21:03:18.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2022-04-06T01:59:53.000Z (almost 3 years ago)
- Last Synced: 2025-01-18T23:15:52.441Z (24 days ago)
- Language: Vim script
- Homepage:
- Size: 18.6 KB
- Stars: 29
- Watchers: 3
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project is a colleciton of vim scripts that relate to the Mako templating
engine for python. Most of thse are not at all written by me, just packaged
here from the vim-script site. The purpose is to make them easy to use with
pathogen.vim.Useful configuration variables:
* `g:mako_detect_lang_from_ext`: when set to 1 (the default), the ftdetect
script will attempt to figure out the "outer" filetype of the file by
stripping the ".mako" extension (eg: index.html.mako will be treated as HTML,
while script.cpp.mako will be treated as C++). Set to 0 to prevent this
detection.
* `g:mako_default_outer_lang`: if ftdetect cannot detect the "outer" filetype of
the file, this sets the default filetype used. If not set, defaults to "html".
* `g:mako_extension`: set to the default string (with leading dot). Default is ".mako"About mako: http://www.makotemplates.org/
Externally sourced scripts:
* [indent/mako.vim](http://www.vim.org/scripts/script.php?script_id=2663) 0.4 by Scott Torborg
* [syntax/mako.vim](http://www.vim.org/scripts/script.php?script_id=1858) 0.6.1 by Armin Ronacher