This repository holds {lang}.nanorc files that have imporved
definitions of syntax highlighting for various languages.
These should be placed inside of the ~/.nano/
directory.
Once there you should add the languages you want to your
nano configuration file ~/.nanorc
. For example,
my config file includes:
## C/C++ include "~/.nano/c.nanorc" ## Fortran include "~/.nano/fortran.nanorc" ## HTML include "~/.nano/html.nanorc" ## Patch files include "~/.nano/patch.nanorc" ## Manpages include "~/.nano/man.nanorc" ## Perl include "~/.nano/perl.nanorc" ## Python include "~/.nano/python.nanorc" ## reST include "~/.nano/reST.nanorc" ## Ruby include "~/.nano/ruby.nanorc" ## Bourne shell scripts include "~/.nano/sh.nanorc" ## makefile .am include "~/.nano/gentoo.nanorc" ## TeX include "~/.nano/tex.nanorc" ## CSS include "~/.nano/css.nanorc" ## php include "~/.nano/php.nanorc" ## XML include "~/.nano/xml.nanorc" ## Lua include "~/.nano/lua.nanorc"