Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/serialhex/nano-highlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorserialhex <serialhex@gmail.com>2017-06-01 16:21:25 +0300
committerGitHub <noreply@github.com>2017-06-01 16:21:25 +0300
commit6010442f8069c5f01f99415fe1b21e8584e814da (patch)
tree9fc48cace7562d27365d8c2a71ded7966563c1c5
parent4d14a3a62572ce840098a6ad050f61bde25d7c1d (diff)
Case insensitive regex
https://www.nano-editor.org/dist/v2.8/nanorc.5.html search for `icolor`
-rw-r--r--yaml.nanorc2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaml.nanorc b/yaml.nanorc
index b474a35..36c0b5b 100644
--- a/yaml.nanorc
+++ b/yaml.nanorc
@@ -9,7 +9,7 @@ color brightmagenta "^\s*@[\$A-Za-z0-9_-]+\:"
## Values
color white ":\s.+$"
## Booleans
-color brightcyan " (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)$"
+icolor brightcyan " (y|yes|n|no|true|false|on|off)$"
## Numbers
color brightred " [[:digit:]]+(\.[[:digit:]]+)?"
## Arrays