assistant: Add annotations to more languages (#15866)
Release Notes: - N/A
This commit is contained in:
parent
8aa1ba8cbc
commit
2db2b636f2
17 changed files with 27 additions and 9 deletions
|
@ -68,3 +68,5 @@
|
|||
")" @context))))
|
||||
]
|
||||
) @item
|
||||
|
||||
(comment) @annotation
|
||||
|
|
|
@ -147,3 +147,5 @@
|
|||
")" @context)))
|
||||
]
|
||||
(type_qualifier)? @context) @item
|
||||
|
||||
(comment) @annotation
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
(comment) @annotation
|
||||
(type_declaration
|
||||
"type" @context
|
||||
(type_spec
|
||||
|
|
|
@ -71,3 +71,5 @@
|
|||
)
|
||||
)
|
||||
) @item
|
||||
|
||||
(comment) @annotation
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
(decorator) @annotation
|
||||
|
||||
(class_definition
|
||||
"class" @context
|
||||
name: (identifier) @name
|
||||
|
|
|
@ -74,3 +74,5 @@
|
|||
)
|
||||
)
|
||||
) @item
|
||||
|
||||
(comment) @annotation
|
||||
|
|
|
@ -74,3 +74,5 @@
|
|||
)
|
||||
)
|
||||
) @item
|
||||
|
||||
(comment) @annotation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue