shellRaining / hlchunk.nvim

This is the lua implementation of nvim-hlchunk, you can use this neovim plugin to highlight your indent line and the current chunk (context) your cursor stayed
MIT License
472 stars 29 forks source link

Fix treesitter issues in lua #90

Closed happyori closed 2 months ago

happyori commented 4 months ago

Fixes issues with treesitter configuration as it seems to be outdated

This is more of a bandaid fix to the node types being out of date / having typos. Another potential solution would be to use the block nodes to define when in a "block" and highlight those instead. I am not sure if this is universal but it at least seems to be working in lua.

This also fixes issue #73