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:
Diffstat (limited to 'editorconfig.nanorc')
-rw-r--r--editorconfig.nanorc16
1 files changed, 16 insertions, 0 deletions
diff --git a/editorconfig.nanorc b/editorconfig.nanorc
new file mode 100644
index 0000000..c475df3
--- /dev/null
+++ b/editorconfig.nanorc
@@ -0,0 +1,16 @@
+syntax "editorconfig" "/\.editorconfig(\.old|\.bak|~)?$"
+
+## Values
+color brightred "=.*$"
+
+## Equal sign
+color yellow "="
+
+## Sections
+color brightgreen "^\s*\[.*\]"
+
+## Keys
+color cyan "^\s*[a-zA-Z0-9_\.]+"
+
+## Comments
+color brightblack ";.*$"