1
0
Fork 0
mirror of synced 2024-11-13 20:58:57 -05:00
ultimate-vim/sources_non_forked_fallback/vim-bundle-mako
2022-11-21 22:56:20 +08:00
..
ftdetect Use sources_non_forked folder for pathogen path, with sources_non_forked_fallback folder as fallback. 2022-11-21 22:56:20 +08:00
ftplugin Use sources_non_forked folder for pathogen path, with sources_non_forked_fallback folder as fallback. 2022-11-21 22:56:20 +08:00
indent Use sources_non_forked folder for pathogen path, with sources_non_forked_fallback folder as fallback. 2022-11-21 22:56:20 +08:00
syntax Use sources_non_forked folder for pathogen path, with sources_non_forked_fallback folder as fallback. 2022-11-21 22:56:20 +08:00
README.md Use sources_non_forked folder for pathogen path, with sources_non_forked_fallback folder as fallback. 2022-11-21 22:56:20 +08:00

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: