mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -04:00
Add cpp/locals.scm
This commit is contained in:
parent
b95e0af73b
commit
1badceea81
2 changed files with 57 additions and 3 deletions
|
|
@ -61,7 +61,11 @@
|
|||
(match? @constructor "^[A-Z]"))
|
||||
|
||||
(auto) @keyword
|
||||
(class_specifier)
|
||||
|
||||
;; Parameters
|
||||
; normals
|
||||
(parameter_list
|
||||
(parameter_declaration) @parameter)
|
||||
|
||||
; Constants
|
||||
|
||||
|
|
@ -77,14 +81,14 @@
|
|||
"catch" @exception
|
||||
"class" @keyword
|
||||
"constexpr" @keyword
|
||||
"delete" @operator
|
||||
"delete" @keyword
|
||||
"explicit" @keyword
|
||||
"final" @exception
|
||||
"friend" @keyword
|
||||
"mutable" @keyword
|
||||
"namespace" @keyword
|
||||
"noexcept" @keyword
|
||||
"new" @operator
|
||||
"new" @keyword
|
||||
"override" @keyword
|
||||
"private" @keyword
|
||||
"protected" @keyword
|
||||
|
|
@ -95,3 +99,4 @@
|
|||
"typename" @keyword
|
||||
"using" @keyword
|
||||
"virtual" @keyword
|
||||
"::" @operator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue