From 6148a16a0ec5d077362defb89d29abea0440aa84 Mon Sep 17 00:00:00 2001 From: Caleb Heuer Date: Wed, 11 Jan 2023 21:40:51 -0700 Subject: [PATCH] Add spread operator --- rc/filetype/go.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/go.kak b/rc/filetype/go.kak index 194c51d7..0d7011f1 100644 --- a/rc/filetype/go.kak +++ b/rc/filetype/go.kak @@ -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/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{ # Grammar