mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
Add support for properties and fields for C# in treesitter backend
This commit is contained in:
parent
87099324fd
commit
67ad26f1f1
2 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,8 @@ return {
|
|||
struct_declaration = "Struct",
|
||||
enum_declaration = "Enum",
|
||||
constructor_declaration = "Constructor",
|
||||
property_declaration = "Property",
|
||||
field_declaration = "Field",
|
||||
},
|
||||
dart = {
|
||||
class_definition = "Class",
|
||||
|
|
|
@ -15,3 +15,11 @@
|
|||
|
||||
(constructor_declaration
|
||||
name: (identifier) @name) @type
|
||||
|
||||
(property_declaration
|
||||
name: (identifier) @name) @type
|
||||
|
||||
(field_declaration
|
||||
(variable_declaration
|
||||
(variable_declarator
|
||||
(identifier) @name))) @type
|
||||
|
|
Loading…
Reference in a new issue