mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat: more @keyword.type captures
This commit is contained in:
parent
f0a1a13316
commit
f58cae6c22
74 changed files with 395 additions and 239 deletions
|
|
@ -408,7 +408,6 @@
|
|||
"const"
|
||||
"let"
|
||||
"var"
|
||||
"type"
|
||||
"concept"
|
||||
"asm"
|
||||
"bind"
|
||||
|
|
@ -416,14 +415,18 @@
|
|||
"do"
|
||||
"mixin"
|
||||
"static"
|
||||
"object"
|
||||
"tuple"
|
||||
"enum"
|
||||
"block"
|
||||
"using"
|
||||
"discard"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"enum"
|
||||
"object"
|
||||
"type"
|
||||
] @keyword.type
|
||||
|
||||
; =============================================================================
|
||||
; @keyword.function ; keywords that define a function (e.g. `func` in Go, `def` in Python)
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue