mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-30 23:37:17 +03:00
Merge remote-tracking branch 'greenfork/add-underscores-to-zig-integers-highlighting'
This commit is contained in:
commit
3f787acb4f
@ -68,10 +68,10 @@ add-highlighter shared/zig/code/ regex '\b(?:c_short|c_ushort|c_int|c_uint|c_lon
|
||||
add-highlighter shared/zig/code/ regex '\b(?:true|false|null|undefined)\b' 0:value
|
||||
|
||||
# integer literals
|
||||
add-highlighter shared/zig/code/ regex '\b[0-9]+\b' 0:value
|
||||
add-highlighter shared/zig/code/ regex '\b0x[0-9a-fA-F]+\b' 0:value
|
||||
add-highlighter shared/zig/code/ regex '\b0o[0-7]+\b' 0:value
|
||||
add-highlighter shared/zig/code/ regex '\b0b[01]+\b' 0:value
|
||||
add-highlighter shared/zig/code/ regex '\b[0-9](_?[0-9])*\b' 0:value
|
||||
add-highlighter shared/zig/code/ regex '\b0x[0-9a-fA-F](_?[0-9a-fA-F])*\b' 0:value
|
||||
add-highlighter shared/zig/code/ regex '\b0o[0-7](_?[0-7])*\b' 0:value
|
||||
add-highlighter shared/zig/code/ regex '\b0b[01](_?[01])*\b' 0:value
|
||||
|
||||
# float literals
|
||||
add-highlighter shared/zig/code/ regex '\b[0-9]+\.[0-9]+(?:[eE][-+]?[0-9]+)?\b' 0:value
|
||||
|
Loading…
Reference in New Issue
Block a user