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:
authorandi <andipabst25@gmail.com>2018-05-07 20:38:59 +0300
committerandi <andipabst25@gmail.com>2018-05-07 20:38:59 +0300
commit9b6d86d78a4507a11eb4d1854f3670505bb7b725 (patch)
treee6ce8e6e0d1f0fdbfb46c6ffa9e5f8c90fecb010
parentc1691d24cfd93fe5dc75d000145dc42f94bba638 (diff)
multiline support
-rw-r--r--toml.nanorc11
1 files changed, 8 insertions, 3 deletions
diff --git a/toml.nanorc b/toml.nanorc
index 1546cc1..2ffd5c1 100644
--- a/toml.nanorc
+++ b/toml.nanorc
@@ -1,11 +1,16 @@
# Supports `TOML` files
syntax "TOML" "\.toml$"
+## Multiline
+icolor yellow start="\"\"\"" end="\"\"\""
+icolor yellow start="'''" end="'''"
+icolor yellow start="\[" end="\]"
+
## Values
-icolor yellow "=.*$"
+icolor yellow "=.*"
## Tables
-icolor red "^\[.*\]$"
+icolor red "^\s*\[.*\]$"
-## Comments (keep at the end)
+## Comments (keep at the end of this file!)
icolor cyan "#.*$"