mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
feat(keywords) add keyword.return & keyword.yield
This commit is contained in:
parent
859c743296
commit
bd9095e969
23 changed files with 112 additions and 25 deletions
|
|
@ -127,13 +127,16 @@
|
|||
|
||||
[
|
||||
"const"
|
||||
"return"
|
||||
"macro"
|
||||
"struct"
|
||||
"primitive"
|
||||
"type"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"return"
|
||||
] @keyword.return
|
||||
|
||||
((identifier) @keyword (#any-of? @keyword "global" "local"))
|
||||
|
||||
(compound_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue