Neovim-from-scratch
Neovim-from-scratch copied to clipboard
Undocumented autopairs setting
Was unable to find any docs for setting the autopairs property below in either the autopairs or the TS repos,
https://github.com/LunarVim/Neovim-from-scratch/blob/1d14e44126b153943abc8559e3c2a8ccce9fe931/lua/user/treesitter.lua#L10-L12
What does this setting do, and how did you know it needed to be added?
It might be treesitter property of different highlighting for different paranthesis,brackets or quotes.
It's possible I mixed this up with autotag, you can check with the plugin owner to be certain.
It might be treesitter property of different highlighting for different paranthesis,brackets or quotes.
That has a completely different treesitter based plugin known as nvim-ts-rainbow. So it definitely can't be that.
Somebody asked on the treesitter repo about this, I guess we'll need to wait for somebodies response. I think that windwp/nvim-autopairs needs this enabled if we want to check the pairs/parens/braces using treesitter, but that's just my guess.
I can't seem to find any treesitter option you can add in the nvim-autopairs plugin.
I was referring to this. But I'm not really sure, it's just my guess.
If it were that, the help pages would've mentioned. Which they have not, last time I checked