ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.82k stars 451 forks source link

feat(ibl): more language nodes #1288

Closed Jint-lzxy closed 2 weeks ago

Jint-lzxy commented 2 weeks ago

As per https://github.com/ayamir/nvimdots/issues/1283#issuecomment-2161977122.

CharlesChiuGit commented 2 weeks ago

ref: https://github.com/nvim-treesitter/nvim-treesitter/tree/master/queries

CharlesChiuGit commented 2 weeks ago

i add this https://github.com/ayamir/nvimdots/blob/0e5145ddb3649ad050991ef0f30073676466be57/lua/modules/configs/ui/indent-blankline.lua#L142 since i think sometimes i'll start with closing tag. lol

it could be removed if it's not appropriate.

Jint-lzxy commented 2 weeks ago

@CharlesChiuGit I think u also need to check for any potential duplicates lol we've already got some defined in scope_languages.lua.

CharlesChiuGit commented 2 weeks ago

yeah, i had checked!

Jint-lzxy commented 2 weeks ago

yeah, i had checked!

Holy shit these language tables are really messing with my head now lol my bad for the discombobulation!

CharlesChiuGit commented 2 weeks ago

Holy shit these language tables are really messing with my head now lol my bad for the discombobulation!

lol, not at all! I totally can feel that and respect u for doing the PR, i spent almost one hour just to get those new nodes in. 🫠🫡🫡🫡

Jint-lzxy commented 2 weeks ago

lol, not at all! I totally can feel that and respect u for doing the PR, i spent almost one hour just to get those new nodes in. 🫠🫡🫡🫡

loll thx :) Also, pretty nice job here! Treesitter nodes are always a hot mess lmao