Closed serhez closed 1 month ago
Sorry, the previous issue was not explained clearly. The indent
mod does not need to set the use_treesitter
option to true
, but chunk
still relies more on treesitter (because they work differently). I will mention this in next version
as for the bug, I can't reproduce it. are you using the latest commit on the main branch?
And you can try to set priority
field to a large number, maybe this can solve, default priority
is 15
https://github.com/shellRaining/hlchunk.nvim/assets/111564053/cf3b0c9e-47f5-495c-9056-75ddc3c77f26
@shellRaining Thanks for the explanation! I tried setting a higher priority for the chunk mod, but this doesn't solve the issue. Could you try reproducing with my config or sharing yours? It's strange that we wouldn't get the same behavior.
I'll take a look at your dotfile, by the way, your color scheme looks great!
I found the reason, it is because your configuration file using tabs instead of spaces, and I did not handle the relevant parts correctly.
And I also found that you have list a long exclude_filetypes
table, which now can just list what you need, it will appended to the exclude_filetypes
I have collected automatically~
@shellRaining Ok perfect! ❤️
Describe the bug The chunk guides are most of the time partially hidden behind the indent guides (see video attached).
To Reproduce Scroll up and down in code with nested indentation. My config is below; you may need to replace the references to my color and icons helpers. I've also tried setting
chunk.use_treesitter = false
but it doesn't help.Expected behavior The chunk guides should have preference over indent guides.
Screenshots
https://github.com/shellRaining/hlchunk.nvim/assets/18057093/65b1c3a3-abfc-41e1-aee2-dac895c46b79