mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00:00
fix: remove redundant alternants (#8159)
This commit is contained in:
@@ -281,7 +281,6 @@
|
||||
"=."
|
||||
"-"
|
||||
"-="
|
||||
":="
|
||||
"!="
|
||||
"*"
|
||||
"**"
|
||||
|
||||
@@ -119,8 +119,6 @@
|
||||
">"
|
||||
"!"
|
||||
"~"
|
||||
"-"
|
||||
"+"
|
||||
"++"
|
||||
"--"
|
||||
"<=="
|
||||
|
||||
@@ -263,7 +263,6 @@
|
||||
(idouble)
|
||||
(ifloat)
|
||||
(creal)
|
||||
(double)
|
||||
(cfloat)
|
||||
(string)
|
||||
(dstring)
|
||||
|
||||
@@ -80,7 +80,6 @@
|
||||
"<<"
|
||||
"&"
|
||||
"|"
|
||||
"^"
|
||||
"~"
|
||||
] @operator
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
(collect_form)
|
||||
(icollect_form)
|
||||
(accumulate_form)
|
||||
(for_form)
|
||||
(fcollect_form)
|
||||
(faccumulate_form)
|
||||
(case_form)
|
||||
|
||||
@@ -246,7 +246,6 @@
|
||||
"<-"
|
||||
"&"
|
||||
"&&"
|
||||
"|"
|
||||
"||"
|
||||
":>"
|
||||
":?>"
|
||||
|
||||
@@ -176,7 +176,6 @@
|
||||
"/"
|
||||
"%"
|
||||
"+"
|
||||
"-"
|
||||
"<<"
|
||||
">>"
|
||||
"&"
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
(function)
|
||||
(let)
|
||||
(list)
|
||||
(constant)
|
||||
(function)
|
||||
(type_definition)
|
||||
(type_alias)
|
||||
(todo)
|
||||
|
||||
@@ -61,7 +61,6 @@
|
||||
"!="
|
||||
"..."
|
||||
"*"
|
||||
"*"
|
||||
"*="
|
||||
"/"
|
||||
"/="
|
||||
|
||||
@@ -135,13 +135,10 @@
|
||||
"&&"
|
||||
"||"
|
||||
"?:"
|
||||
"+"
|
||||
"*"
|
||||
".&"
|
||||
".@"
|
||||
"?."
|
||||
"*."
|
||||
"*"
|
||||
"*:"
|
||||
"++"
|
||||
"--"
|
||||
|
||||
@@ -169,20 +169,6 @@
|
||||
"--"
|
||||
"!"
|
||||
"?:"
|
||||
"="
|
||||
"??="
|
||||
".="
|
||||
"|="
|
||||
"^="
|
||||
"&="
|
||||
"<<="
|
||||
">>="
|
||||
"+="
|
||||
"-="
|
||||
"*="
|
||||
"/="
|
||||
"%="
|
||||
"**="
|
||||
"=>"
|
||||
; type modifiers
|
||||
"@"
|
||||
|
||||
@@ -35,11 +35,9 @@
|
||||
"<<"
|
||||
"<<="
|
||||
"<="
|
||||
"<="
|
||||
"=="
|
||||
">"
|
||||
">="
|
||||
">="
|
||||
">>"
|
||||
">>="
|
||||
">>>"
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
"endmacro"
|
||||
"endcall"
|
||||
"endset"
|
||||
"endtrans"
|
||||
"endautoescape"
|
||||
] @keyword
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
"="
|
||||
","
|
||||
"'"
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
"@version"
|
||||
"@operator"
|
||||
"@nodiscard"
|
||||
"@cast"
|
||||
"@overload"
|
||||
"@enum"
|
||||
"@language"
|
||||
|
||||
@@ -170,7 +170,6 @@
|
||||
"-"
|
||||
".*"
|
||||
"*"
|
||||
".*"
|
||||
"/"
|
||||
"./"
|
||||
"\\"
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
"includes"
|
||||
"excludes"
|
||||
"todaymarker"
|
||||
"title"
|
||||
"section"
|
||||
"direction"
|
||||
"subgraph"
|
||||
|
||||
@@ -123,12 +123,10 @@ file_path: (val_string) @variable.parameter
|
||||
"*="
|
||||
"/="
|
||||
"++="
|
||||
"-"
|
||||
".."
|
||||
"..="
|
||||
"..<"
|
||||
"=>"
|
||||
"="
|
||||
"|"
|
||||
"o>"
|
||||
"out>"
|
||||
|
||||
@@ -294,7 +294,6 @@
|
||||
(hash_operator)
|
||||
(indexing_operator)
|
||||
(let_operator)
|
||||
(and_operator)
|
||||
(match_operator)
|
||||
] @operator
|
||||
|
||||
|
||||
@@ -294,7 +294,6 @@
|
||||
(hash_operator)
|
||||
(indexing_operator)
|
||||
(let_operator)
|
||||
(and_operator)
|
||||
(match_operator)
|
||||
] @operator
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
(declEnum)
|
||||
(declProcRef)
|
||||
(declExports)
|
||||
(declProcRef)
|
||||
(declType)
|
||||
(defProc)
|
||||
(declField)
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
(kDestructor)
|
||||
(kOperator)
|
||||
(kReference)
|
||||
(kInterface)
|
||||
(kImplementation)
|
||||
(kInitialization)
|
||||
(kFinalization)
|
||||
|
||||
@@ -206,7 +206,6 @@
|
||||
"<="
|
||||
"<"
|
||||
"+~"
|
||||
"-~"
|
||||
"*~"
|
||||
"/~"
|
||||
"%~"
|
||||
|
||||
@@ -85,7 +85,6 @@ alias: (identifier) @variable.member
|
||||
(keyword_avg)
|
||||
(keyword_sum)
|
||||
(keyword_stddev)
|
||||
(keyword_count)
|
||||
(keyword_rank)
|
||||
] @function
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
; Namespaces
|
||||
[
|
||||
"re2c"
|
||||
"re2c"
|
||||
"local"
|
||||
"rules"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
;types
|
||||
(record_type)
|
||||
(tags_type)
|
||||
(record_expr)
|
||||
(implements_implementation)
|
||||
"{"
|
||||
"("
|
||||
|
||||
@@ -186,7 +186,6 @@
|
||||
"end"
|
||||
"implicit"
|
||||
"extension"
|
||||
"with"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
|
||||
@@ -151,7 +151,6 @@
|
||||
"modifier"
|
||||
"var"
|
||||
"let"
|
||||
"emit"
|
||||
"error"
|
||||
"fallback"
|
||||
"receive"
|
||||
@@ -287,8 +286,6 @@
|
||||
">"
|
||||
"!"
|
||||
"~"
|
||||
"-"
|
||||
"+"
|
||||
"++"
|
||||
"--"
|
||||
":="
|
||||
|
||||
@@ -68,7 +68,6 @@
|
||||
"||"
|
||||
"^"
|
||||
"^="
|
||||
"*"
|
||||
"*="
|
||||
"-"
|
||||
"-="
|
||||
@@ -86,7 +85,6 @@
|
||||
"@"
|
||||
".."
|
||||
"..="
|
||||
"'"
|
||||
"?"
|
||||
] @operator
|
||||
|
||||
|
||||
@@ -22,13 +22,10 @@
|
||||
".."
|
||||
"--"
|
||||
"++"
|
||||
"+"
|
||||
"-"
|
||||
"~"
|
||||
"!"
|
||||
"&"
|
||||
"->"
|
||||
"*"
|
||||
"-="
|
||||
"+="
|
||||
"*="
|
||||
@@ -39,8 +36,6 @@
|
||||
"^="
|
||||
">>="
|
||||
"<<="
|
||||
"--"
|
||||
"++"
|
||||
] @operator
|
||||
|
||||
[
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
(subprogram_definition)
|
||||
(subprogram_head)
|
||||
(procedure_specification)
|
||||
(sequential_block)
|
||||
(loop_statement)
|
||||
(if_statement_block)
|
||||
(if_statement)
|
||||
|
||||
@@ -212,7 +212,6 @@
|
||||
">="
|
||||
"<="
|
||||
"<"
|
||||
"&"
|
||||
"^"
|
||||
"|"
|
||||
"<<"
|
||||
@@ -221,7 +220,6 @@
|
||||
"+"
|
||||
"++"
|
||||
"+%"
|
||||
"-%"
|
||||
"+|"
|
||||
"-|"
|
||||
"*"
|
||||
|
||||
Reference in New Issue
Block a user