mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(wing): add many missing highlights
...as well as some fold and injection queries.
This commit is contained in:
parent
bbf1f3e546
commit
e090c5b22d
4 changed files with 104 additions and 13 deletions
|
|
@ -1,12 +1,13 @@
|
|||
bring cloud;
|
||||
// <- @keyword
|
||||
// <- @keyword.import
|
||||
// ^ @module
|
||||
|
||||
class Foo {
|
||||
// <- @keyword.type
|
||||
// ^ @type
|
||||
// ^ @punctuation.bracket
|
||||
name: str;
|
||||
//^ @variable.member
|
||||
//^ @property
|
||||
// ^ @type.builtin
|
||||
// ^ @punctuation.delimiter
|
||||
new(name: str) {
|
||||
|
|
@ -14,6 +15,7 @@ class Foo {
|
|||
// ^ @variable
|
||||
this.name = name;
|
||||
// ^ @punctuation.delimiter
|
||||
// ^ @variable.member
|
||||
// ^ @operator
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue