Difference between revisions of "Mir Templates"

From IndyMedia
Jump to: navigation, search
(Created page with "Templates: https://svn.indymedia.org.uk/ ==vim syntax highlighting== Add this to your ~/.vimrc to get HTML highlighting for the .template files: <syntaxhighlight lang="vim"> i...")
(No difference)

Revision as of 22:05, 17 June 2011

Templates: https://svn.indymedia.org.uk/

vim syntax highlighting

Add this to your ~/.vimrc to get HTML highlighting for the .template files:

if has("autocmd")
  " mir templates 
  augroup module
    autocmd BufRead,BufNewFile *.template set filetype=html
  augroup END
endif
 
syntax on