mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat(nu): new attribute syntax and add folds.scm (#7650)
This commit is contained in:
parent
b08ae25c47
commit
2cade9e3d1
2 changed files with 18 additions and 9 deletions
|
|
@ -275,16 +275,15 @@ key: (identifier) @property
|
|||
(param_cmd
|
||||
(cmd_identifier) @string)
|
||||
|
||||
(param_long_flag
|
||||
(long_flag_identifier) @attribute)
|
||||
(attribute
|
||||
"@" @attribute)
|
||||
|
||||
(param_short_flag
|
||||
(param_short_flag_identifier) @attribute)
|
||||
|
||||
(short_flag
|
||||
(short_flag_identifier) @attribute)
|
||||
|
||||
(long_flag_identifier) @attribute
|
||||
[
|
||||
(attribute_identifier)
|
||||
(long_flag_identifier)
|
||||
(param_short_flag_identifier)
|
||||
(short_flag_identifier)
|
||||
] @attribute
|
||||
|
||||
(scope_pattern
|
||||
(wild_card) @function)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue