vim-liquid
vim-liquid copied to clipboard
Vim Liquid runtime files with Jekyll enhancements
Implement the changes from #16 to have syntax highlighting on [section schema](https://shopify.dev/themes/architecture/sections/section-schema).
Markdown files for use with pandoc can start with a YAML header, which starts with `---`. This causes this plugin to think that the filetype is liquid. Example document: ```markdown...
[runtime/filetype.vim](https://github.com/vim/vim/blob/master/runtime/filetype.vim#L1088) doesn't include https://github.com/tpope/vim-liquid/blob/master/ftdetect/liquid.vim#L4-L16
The `indent/liquid.vim` script sets `indentexpr=GetLiquidIndent()`, which overrides Neovim's default Markdown indent logic. This causes `gq` to incorrectly format wrapped list items in Jekyll posts, but only for bulleted lists (`-`,...