Closed Hermanverschooten closed 1 year ago
Seems like a issue with nvim-treesitter being slow, the fix mentioned in that issue is probably the best that can be done, you could also increase the delay for elixir files. There's not much that can really be done since Neovim is single threaded and treesitter queries can be slow sometimes.
If #168 ever gets implemented, it would help here a bit too.
I'm going to close this since it's primarily a treesitter issue, not a vim-illuminate issue. Your best bet would be using the regex provider or the lsp provider.
As mentioned in https://github.com/LunarVim/LunarVim/issues/4213, there is an issue when an Elixir file has many lines starting with a pipe. Vim becomes very unresponsive.
@LostNeophyte researched the issue and traced it back to this plugin.
To reproduce:
Using
:TSBufDisable illuminate
alleviates the problem.Output from
:IlluminateDebug
Expected behavior Vim should remain as responsive as ever.