diff options
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 9026cf58..abe0d305 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -661,28 +661,6 @@ autocmd BufNewFile,BufRead *.less setf less augroup end endif -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'liquid') == -1 - augroup filetypedetect - " liquid, from liquid.vim in tpope/vim-liquid -" Liquid -au BufNewFile,BufRead *.liquid set ft=liquid - -au BufNewFile,BufRead */_layouts/*.html,*/_includes/*.html set ft=liquid -au BufNewFile,BufRead *.html,*.xml,*.textile - \ if getline(1) == '---' | set ft=liquid | endif -au BufNewFile,BufRead *.markdown,*.mkd,*.mkdn,*.md - \ if getline(1) == '---' | - \ let b:liquid_subtype = 'markdown' | - \ set ft=liquid | - \ endif - -" Set subtype for Shopify alternate templates -au BufNewFile,BufRead */templates/**.liquid,*/layout/**.liquid,*/snippets/**.liquid - \ let b:liquid_subtype = 'html' | - \ set ft=liquid | - augroup end -endif - if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'lilypond') == -1 augroup filetypedetect " lilypond, from lilypond.vim in anowlcalledjosh/vim-lilypond |