slackbuilds/system/nano-syntax-highlighting
Edinaldo P. Silva ae13ba8a07
system/nano-syntax-highlighting: Updated for version 20180827.
This maintains compatibility with the older versions of Nano.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2018-12-01 07:27:50 +07:00
..
README system/nano-syntax-highlighting: Added (Nano Syntax Highlighting). 2018-05-02 21:14:02 +01:00
nano-syntax-highlighting.SlackBuild system/nano-syntax-highlighting: Updated for version 20180827. 2018-12-01 07:27:50 +07:00
nano-syntax-highlighting.info system/nano-syntax-highlighting: Updated for version 20180827. 2018-12-01 07:27:50 +07:00
slack-desc system/nano-syntax-highlighting: Added (Nano Syntax Highlighting). 2018-05-02 21:14:02 +01:00

README

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