Add spread operator

This commit is contained in:
Caleb Heuer 2023-01-11 21:40:51 -07:00
parent 88bb854f36
commit 6148a16a0e

View File

@ -52,7 +52,7 @@ add-highlighter shared/go/comment_line region '//' $ fill comment
add-highlighter shared/go/code/identifier regex %{-?([0-9]*\.(?!0[xX]))?\b([0-9]+|0[xX][0-9a-fA-F]+)\.?([eE][+-]?[0-9]+)?i?\b} 0:value add-highlighter shared/go/code/identifier regex %{-?([0-9]*\.(?!0[xX]))?\b([0-9]+|0[xX][0-9a-fA-F]+)\.?([eE][+-]?[0-9]+)?i?\b} 0:value
add-highlighter shared/go/code/function regex "\b(\w*)\b[ ]*\(" 1:function add-highlighter shared/go/code/function regex "\b(\w*)\b[ ]*\(" 1:function
add-highlighter shared/go/code/operator regex "(\+|-|\*|/|%|\+\+|--|\+=|-=|\*=|/=|%=|==|!=|>|<|>=|<=|&|&&|\|\||!|<-|:=)" 1:operator add-highlighter shared/go/code/operator regex "(\+|-|\*|/|%|\+\+|--|\+=|-=|\*=|/=|%=|==|!=|>|<|>=|<=|&|&&|\|\||!|<-|:=|\.\.\.)" 1:operator
evaluate-commands %sh{ evaluate-commands %sh{
# Grammar # Grammar