Remove liquid syntax, closes #384

This commit is contained in:
Adam Stankiewicz
2019-04-23 11:49:34 +02:00
parent 679ccf0303
commit 9fd5c11a20
6 changed files with 1 additions and 299 deletions

View File

@@ -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