This is numerics, not identifiers
This commit is contained in:
parent
c338efe078
commit
142925fc90
|
@ -50,7 +50,7 @@ add-highlighter shared/go/single_string region "'" (?<!\\)(\\\\)*' fill string
|
|||
add-highlighter shared/go/comment region /\* \*/ fill comment
|
||||
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/numeric 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\h*(?:\[[\w\s\.,]*\])?\h*\(" 1:function
|
||||
add-highlighter shared/go/code/operator regex "(\+|-|\*|/|%|\+\+|--|\+=|-=|\*=|/=|%=|==|!=|>|<|>=|<=|&|&&|\|\||!|<-|:=|\.\.\.)" 1:operator
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user