Closed smartding closed 2 years ago
You could try additional_vim_regex_highlighting = true
as documented here. But that's just a workaround that enables the traditional vim syntax in the background, so you will get no performance benefit from using tree-sitter.
Ok, thanks.
so have you achieve concealing? I tried additional_vim_regex_hightlighting and it doesn't work for me.
P.S. I moved to a vim-markdown for a while :) https://github.com/Liverm0r/dotfiles/commit/2612351d765ed6757663c1de1a306cebaa205848
@Liverm0r No, I went back to plasticboy/vim-markdown. Because I need link concealing, and I can live with the not-so-good performance.
By the way, before treesitter and lsp I was using vim-polyglot, and it was also concealing .md links.
I've been using plasticboy/vim-markdown for markdown syntax highlighting and other stuff for years. I really misses the link concealing feature of that plugin when I switched to tree-sitter-markdown today. Link concealing shows
[text](link)
as text and make the whole document less cluttered, especially if the link is very long.Not sure if link concealing is within the scope of tree-sitter.