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>2018-05-09 20:24:45 +0300
committerGitHub <noreply@github.com>2018-05-09 20:24:45 +0300
commitc958882e65b8e4ebf3e4be5c979ca48bd8f1167e (patch)
treee6ce8e6e0d1f0fdbfb46c6ffa9e5f8c90fecb010
parentd83716ee26fdf05fdf05cf7bd7060ae6eaa1e761 (diff)
parent9b6d86d78a4507a11eb4d1854f3670505bb7b725 (diff)
Merge pull request #39 from andipabst/master
added minimal toml configuration
-rw-r--r--toml.nanorc16
1 files changed, 16 insertions, 0 deletions
diff --git a/toml.nanorc b/toml.nanorc
new file mode 100644
index 0000000..2ffd5c1
--- /dev/null
+++ b/toml.nanorc
@@ -0,0 +1,16 @@
+# Supports `TOML` files
+syntax "TOML" "\.toml$"
+
+## Multiline
+icolor yellow start="\"\"\"" end="\"\"\""
+icolor yellow start="'''" end="'''"
+icolor yellow start="\[" end="\]"
+
+## Values
+icolor yellow "=.*"
+
+## Tables
+icolor red "^\s*\[.*\]$"
+
+## Comments (keep at the end of this file!)
+icolor cyan "#.*$"