mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
cpp: update lockfile.json and fix for breaking changes
This commit is contained in:
parent
351eefd988
commit
662f3aaadd
2 changed files with 7 additions and 11 deletions
|
|
@ -27,10 +27,6 @@
|
|||
(function_declarator
|
||||
declarator: (field_identifier) @method)
|
||||
|
||||
(template_function
|
||||
name: (scoped_identifier
|
||||
name: (identifier) @function))
|
||||
|
||||
|
||||
(namespace_identifier) @namespace
|
||||
((namespace_identifier) @type
|
||||
|
|
@ -40,16 +36,16 @@
|
|||
(namespace_definition
|
||||
name: (identifier) @namespace)
|
||||
|
||||
(using_declaration . "using" . "namespace" . [(scoped_identifier) (identifier)] @namespace)
|
||||
(using_declaration . "using" . "namespace" . [(qualified_identifier) (identifier)] @namespace)
|
||||
|
||||
(destructor_name
|
||||
(identifier) @method)
|
||||
|
||||
(function_declarator
|
||||
declarator: (scoped_identifier
|
||||
declarator: (qualified_identifier
|
||||
name: (identifier) @function))
|
||||
((function_declarator
|
||||
declarator: (scoped_identifier
|
||||
declarator: (qualified_identifier
|
||||
name: (identifier) @constructor))
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
|
||||
|
|
@ -57,7 +53,7 @@
|
|||
"static_assert" @function.builtin
|
||||
|
||||
(call_expression
|
||||
function: (scoped_identifier
|
||||
function: (qualified_identifier
|
||||
name: (identifier) @function))
|
||||
|
||||
(call_expression
|
||||
|
|
@ -68,7 +64,7 @@
|
|||
function: (identifier) @constructor)
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
((call_expression
|
||||
function: (scoped_identifier
|
||||
function: (qualified_identifier
|
||||
name: (identifier) @constructor))
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
|
||||
|
|
@ -77,7 +73,7 @@
|
|||
field: (field_identifier) @constructor))
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
|
||||
;; constructing a type in a intizializer list: Constructor (): **SuperType (1)**
|
||||
;; constructing a type in an initializer list: Constructor (): **SuperType (1)**
|
||||
((field_initializer
|
||||
(field_identifier) @constructor
|
||||
(argument_list))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue