mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 22:37:10 +09:00
fixing hex number highlighting for nim
This commit is contained in:
@@ -15,7 +15,7 @@ color type "\b(int|cint|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|f
|
||||
color type "'[iI](8|16|32|64)?\b" "'[uU](8|16|32|64)?\b" "'[fF](32|64|128)?\b" "'[dD]\b"
|
||||
|
||||
color constant.number "\b[0-9]+\b"
|
||||
color constant.number "\b0[xX][0-9][0-9_]+\b"
|
||||
color constant.number "\b0[xX][0-9A-Fa-f][0-9_A-Fa-f]+\b"
|
||||
color constant.number "\b0[ocC][0-7][0-7_]+\b"
|
||||
color constant.number "\b0[bB][01][01_]+\b"
|
||||
color constant.number "\b[0-9_]((\.?)[0-9_]+)?[eE][+\-][0-9][0-9_]+\b"
|
||||
|
||||
Reference in New Issue
Block a user