sponsor Vim development Vim logo Vim Book Ad

mako.vim : Adds indenting support for Mako HTML templates

 script karma  Rating 6/3, Downloaded by 1116    Comments, bugs, improvements  Vim wiki

created by
Scott Torborg
 
script type
indent
 
description
Adds indenting support for the mako python template engine to vim. Indents inside of Mako control blocks, which improves the readability of the source template (although at the possible expense of the readability of the output code).

For best results, use in conjunction with mako syntax highlighting: vimscript #1858.

Mako: http://www.makotemplates.org/
 
install details
Copy into ~/.vim/indent. No dependencies.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
mako.vim 0.4 2010-03-05 7.0 Scott Torborg - Added license information for WTFPL
mako.vim 0.3 2009-09-15 7.0 Scott Torborg - Added explicit support for ## comments, fixed unindenting count. Thanks to Mike Lewis (@MikeRLewis)
mako.vim 0.2 2009-06-15 7.0 Scott Torborg - Fixed issue where opening and closing mako tags on the same line would cause incorrect indenting
mako.vim 0.1 2009-06-06 6.0 Scott Torborg Initial upload
ip used for rating: 54.82.122.194

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo