mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
fixing highlights for brightscript
This commit is contained in:
parent
4335ac47e4
commit
c34022ded9
1 changed files with 8 additions and 8 deletions
|
|
@ -38,13 +38,13 @@
|
|||
(identifier) @property)
|
||||
|
||||
; Statements
|
||||
(if_statement) @conditional
|
||||
(conditional_compl) @conditional
|
||||
(for_statement) @repeat
|
||||
(while_statement) @repeat
|
||||
(try_statement) @exception
|
||||
(if_statement) @keyword.conditional
|
||||
(conditional_compl) @keyword.conditional
|
||||
(for_statement) @keyword.repeat
|
||||
(while_statement) @keyword.repeat
|
||||
(try_statement) @keyword.exception
|
||||
(return_statement) @keyword.return
|
||||
(throw_statement) @keyword.throw
|
||||
(throw_statement) @keyword.exception
|
||||
(assignment_statement) @operator
|
||||
(print_statement) @function.builtin
|
||||
(constant) @constant
|
||||
|
|
@ -94,9 +94,9 @@
|
|||
["(" ")" "[" "]" "{" "}" "." "," "?." "?["] @punctuation.delimiter
|
||||
|
||||
; Special highlights for library statements
|
||||
(library_statement) @include
|
||||
(library_statement) @keyword.import
|
||||
(library_statement
|
||||
path: (string) @string.special)
|
||||
path: (string) @module)
|
||||
|
||||
; Array and associative array literals
|
||||
(array) @constructor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue