diff options
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 5f30e46e..160c164f 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -270,6 +270,10 @@ au BufNewFile,BufRead */templates/**.liquid,*/layout/**.liquid,*/snippets/**.liq \ let b:liquid_subtype = 'html' | \ set ft=liquid | endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mako') == -1 + +au BufRead,BufNewFile *.mako set filetype=mako +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'markdown') == -1 autocmd BufNewFile,BufRead *.markdown,*.md,*.mdown,*.mkd,*.mkdn |