Closed AndOrangutan closed 2 years ago
You could try adding this to your config (from nvim-treesitters help):
lua <<EOF
require'nvim-treesitter.configs'.setup {
highlight = {
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = false,
},
}
EOF
Thank you so much. :D
additional_vim_regex_highlighting = false,
curious @MDeiml ; can this boolean be set on a per-lang basis? or is it all-or-nothing?
It says in the nvim-treesitter docs that it can be a list of languages, so { 'markdown' }
in this case
Grettings, I have been working on getting my notetaking setup for my classes and love having some sort of plugin to do math conceal. As you can see even though I have preservim/vim-markdown installed but the conceal doesn't work with Treesitter.
With TS enabled:
With TS Disabled: