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