aboutsummaryrefslogtreecommitdiff
path: root/system/nano-syntax-highlighting/README
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2018-05-02 21:14:02 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-05-02 21:14:02 +0100
commitd104d7c023f2944b8bf3cd522121ec4d3f5fcee9 (patch)
treedc692dc99f598a508856ef25ea896f1054b0e9e4 /system/nano-syntax-highlighting/README
parentefcc49354ce49c6a9ab3107b46f24fb35582e6ce (diff)
system/nano-syntax-highlighting: Added (Nano Syntax Highlighting).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/nano-syntax-highlighting/README')
-rw-r--r--system/nano-syntax-highlighting/README19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/nano-syntax-highlighting/README b/system/nano-syntax-highlighting/README
new file mode 100644
index 0000000000000..959f98ad20dd2
--- /dev/null
+++ b/system/nano-syntax-highlighting/README
@@ -0,0 +1,19 @@
+nano-syntax-highlighting (Improved Nano Syntax Highlighting Files)
+
+This repository holds {lang}.nanorc files that have improved
+definitions of syntax highlighting for various languages.
+
+Once there you should add the languages you want to your nano
+configuration file ~/.nanorc or /etc/nanorc, for example:
+
+## C/C++
+include "/usr/share/nano-syntax-highlighting/c.nanorc"
+
+Or to be less verbose, append content of the folder in one line
+with wildcard:
+
+For current user.
+$ echo 'include "/usr/share/nano-syntax-highlighting/*.nanorc"' >> ~/.nanorc
+
+For all users.
+# echo 'include "/usr/share/nano-syntax-highlighting/*.nanorc"' >> /etc/nanorc