mirror of
https://github.com/mawww/kakoune.git
synced 2024-08-17 00:30:26 +03:00
Merge remote-tracking branch 'arachsys/scheme-infnan'
This commit is contained in:
commit
9716875ba9
@ -162,7 +162,7 @@ evaluate-commands %sh{ exec awk -f - <<'EOF'
|
||||
# unprefixed decimals
|
||||
add_highlighter("(?<![" normal_identifiers "])(\\d+(\\.\\d*)?|\\.\\d+)(?:[esfdlESFDL][-+]?\\d+)?(?![" normal_identifiers "])", "0:value");
|
||||
# inf and nan
|
||||
add_highlighter("(?<![" normal_identifiers "])[+-](?:inf|nan)\.0(?![" normal_identifiers "])", "0:value");
|
||||
add_highlighter("(?<![" normal_identifiers "])[+-](?:inf|nan)\\.0(?![" normal_identifiers "])", "0:value");
|
||||
}
|
||||
EOF
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user