I've disabled the highlight module per default since neovim needs a lot of time
for loading very big files which can get a little bit annoying, so I wanted to
start treesitter with the :TSBufEnable highlight command. However this the
highlighting colors don't change after calling this command.
If you run :TSEnableAll highlight and then :e, the highlighting shows up as expected but calling :e after invoking :TSBufEnable highlight doesn't work.
Describe the highlighting problem
I've disabled the highlight module per default since neovim needs a lot of time for loading very big files which can get a little bit annoying, so I wanted to start treesitter with the
:TSBufEnable highlight
command. However this the highlighting colors don't change after calling this command.Example snippet that causes the problem
Tree-sitter parsing result
Example screenshot
https://user-images.githubusercontent.com/50843046/162347026-05ebb176-6193-43d9-8a50-2b8cda5323f8.mp4
As you can see, nothing happens after calling the
:TSBufEnable highlight
command.Expected behavior
I expected to get this highlighting after calling the
:TSBufEnable highlight
command.Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
None