mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
Improve Vala syntax highlight
This commit is contained in:
parent
391bdccdf0
commit
ad1bc3577c
1 changed files with 6 additions and 5 deletions
|
|
@ -28,13 +28,10 @@
|
|||
"}"
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
";"
|
||||
":"
|
||||
"."
|
||||
","
|
||||
"->"
|
||||
|
|
@ -74,6 +71,10 @@
|
|||
"owned"
|
||||
"throws"
|
||||
"delete"
|
||||
"#if"
|
||||
"#elif"
|
||||
(preproc_else)
|
||||
(preproc_endif)
|
||||
] @keyword
|
||||
|
||||
"throw" @exception
|
||||
|
|
@ -128,7 +129,6 @@
|
|||
"&="
|
||||
"^="
|
||||
"??"
|
||||
"="
|
||||
] @operator
|
||||
)
|
||||
|
||||
|
|
@ -206,7 +206,7 @@
|
|||
)
|
||||
|
||||
(class_constructor_definition
|
||||
[
|
||||
name: [
|
||||
(_)
|
||||
(namespaced_identifier (_) @constructor .)
|
||||
] @constructor
|
||||
|
|
@ -229,6 +229,7 @@
|
|||
; Strings and escape sequences
|
||||
|
||||
(string_literal) @string
|
||||
(verbatim) @string
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
(string_template
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue