This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > System > nano-syntax-highlighting (20180827)

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

Maintained by: Edinaldo P. Silva
Keywords: shell,nano,syntax highlighting,
ChangeLog: nano-syntax-highlighting

Homepage:
https://github.com/scopatz/nanorc

Source Downloads:
nanorc-19feaf51d88006a62c06e34a40f57960a7409e8e.tar.gz (ad10dfe13170725642c096318027ddbf)

Download SlackBuild:
nano-syntax-highlighting.tar.gz
nano-syntax-highlighting.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds