mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00: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
|
|
@ -141,12 +141,8 @@
|
|||
|
||||
; Keywords
|
||||
[
|
||||
"contract"
|
||||
"interface"
|
||||
"library"
|
||||
"is"
|
||||
"struct"
|
||||
"enum"
|
||||
"event"
|
||||
"assembly"
|
||||
"emit"
|
||||
|
|
@ -161,6 +157,13 @@
|
|||
(virtual)
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"enum"
|
||||
"struct"
|
||||
"contract"
|
||||
"interface"
|
||||
] @keyword.type
|
||||
|
||||
; FIXME: update grammar
|
||||
; (block_statement "unchecked" @keyword)
|
||||
(event_parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue