2010-07-29 00:15:43 +02:00
|
|
|
***************************************
|
|
|
|
Improved Nano Syntax Highlighting Files
|
|
|
|
***************************************
|
|
|
|
|
2013-10-21 00:03:28 +02:00
|
|
|
This repository holds {lang}.nanorc files that have improved
|
2010-07-29 00:15:43 +02:00
|
|
|
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"
|
|
|
|
|
2011-02-02 20:58:00 +01:00
|
|
|
## Lua
|
|
|
|
include "~/.nano/lua.nanorc"
|
|
|
|
|