vim-pandoc / vim-pandoc-syntax

pandoc markdown syntax, to be installed alongside vim-pandoc
MIT License
426 stars 61 forks source link

Use TreeSitter to inform syntax #334

Open alerque opened 4 years ago

alerque commented 4 years ago

In light of #300, #327, and probably most especially #329 keep an eye on TreeSitter status in Neovim:

https://github.com/neovim/neovim/issues/11724

alerque commented 4 years ago

Maybe these repos too: https://github.com/nvim-treesitter

inventionate commented 2 years ago

Slowly, a working Markdown parser seems to emerge (but based on CommonMark): https://github.com/MDeiml/tree-sitter-markdown

Are there plans to adapt this for Vim Pandoc?

iGormilhit commented 1 year ago

Yet, the vim-pandoc-syntax, using the treesitter plugin with the markdown parser installed, is not working very well. For now, I will not install the markdown parser, as I find vim-pandoc and vim-pandoc-syntax very good, but it would be nice to be able to use both. Or maybe I missing something, which is very plausible. :slightly_smiling_face:

rodhash commented 5 months ago

Some plugins (ie: lspsaga) require TS markdown parser installed but when we have that installed it seems to override Pandoc syntax .. can pandoc-syntax and markdown parse co-exist? Or perhaps some other way in which TS doesn't override it?