Skip to content
Improved Nano Syntax Highlighting Files
Find file
Pull request Compare This branch is 165 commits behind scopatz:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Readme.rst
apacheconf.nanorc
asm.nanorc
c.nanorc
conf.nanorc
css.nanorc
cython.nanorc
fortran.nanorc
gentoo.nanorc
groff.nanorc
haml.nanorc
html.nanorc
java.nanorc
lua.nanorc
man.nanorc
mutt.nanorc
nanorc.nanorc
patch.nanorc
perl.nanorc
php.nanorc
pov.nanorc
python.nanorc
reST.nanorc
ruby.nanorc
sh.nanorc
tex.nanorc
xml.nanorc
zshrc.nanorc

Readme.rst

Improved Nano Syntax Highlighting Files

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"
Something went wrong with that request. Please try again.