From c5bddf3fc8c03ad5ad0c679cb139750985a9e8d3 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Mon, 5 Feb 2018 10:20:40 +0100 Subject: [PATCH] syntax highlighting for nano --- docs/monitorix.nanorc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/monitorix.nanorc diff --git a/docs/monitorix.nanorc b/docs/monitorix.nanorc new file mode 100644 index 0000000..5b3a8bd --- /dev/null +++ b/docs/monitorix.nanorc @@ -0,0 +1,10 @@ +syntax "monitorix" "monitorix.conf$" +color red "=*[[:space:]]n$" +color brightgreen "=*[[:space:]]y$" +color yellow "[A-Za-z0-9\.]*@[A-Za-z0-9\.]*" +color brightyellow "=" +color brightwhite "[0-9]" +icolor magenta "^[[:space:]]*[.A-Z_0-9]*" +color cyan start="<" end=">" +color green "^#.*" +icolor brightgreen "^#.**[[:space:]]*--"