mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
@type is too generic and captures many different things, e.g. function calls and table references. It doesn't capture builtin types, which are captured by @type.builtin. The outcome is that function calls are highlighted as types. Same for table names. I guess one can make an argument that tables are composite types in SQL, but it doesn't feel right to highlight them in the same way as e.g. `DOUBLE`. To fix this issue, just remove the @type capture rule. |
||
|---|---|---|
| .. | ||
| folds.scm | ||
| highlights.scm | ||
| indents.scm | ||
| injections.scm | ||