mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -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
|
|
@ -5,9 +5,7 @@
|
|||
; Keywords
|
||||
[
|
||||
"arguments"
|
||||
"classdef"
|
||||
"end"
|
||||
"enumeration"
|
||||
"events"
|
||||
"global"
|
||||
"methods"
|
||||
|
|
@ -15,6 +13,14 @@
|
|||
"properties"
|
||||
] @keyword
|
||||
|
||||
"enumeration" @keyword.type
|
||||
|
||||
(class_definition
|
||||
[
|
||||
"classdef"
|
||||
"end"
|
||||
] @keyword.type)
|
||||
|
||||
; Conditionals
|
||||
(if_statement
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue