mattn / vim-sonictemplate

Easy and high speed coding method
http://mattn.github.com/vim-sonictemplate
333 stars 42 forks source link

comment line for stpl files #43

Closed solarizedalias closed 3 years ago

solarizedalias commented 4 years ago

You cannot add line comments in .stpl files. Adding __END__ seems to be a way of adding lines (not sure I'm right) which doesn't affect the behavior of the plugin, which only provides very limited capabilities. I believe comment lines can be implemented in autoload/sonictemplate#load_postfix(), by simply skipping lines starting with # or such.