You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Jody Leonard b64de43467 Change tab coloring behavior for several rc's
The commit mariuszs/nanorc@e5cc8be863
introduced a number of rc files that cause tabs to always show as red
(even with trailing spaces). Adjust the behavior according to changes in
https://github.com/nanorc/nanorc/blob/master/mixins/lint.nanorc, which
seems to be an updated source of the original commit. Make tabs appear
green without trailing characters, red with trailing spaces, and
uncolored when followed by any other character.
9 years ago
Dockerfile.nanorc Added dockerfile syntax highlighting for *.dockerfile 9 years ago
Readme.rst add alternate cloning method 10 years ago
apacheconf.nanorc Add htaccess to file patter 9 years ago
asciidoc.nanorc Add another popular file name extension 'adoc' 9 years ago
asm.nanorc First nanorc commit. 14 years ago
awk.nanorc Change tab coloring behavior for several rc's 9 years ago
c.nanorc Made whitespace highlighting optional 10 years ago
cmake.nanorc edits to cmake to make more readable. 12 years ago
coffeescript.nanorc Change tab coloring behavior for several rc's 9 years ago
colortest.nanorc More syntax files from craigbarnes/nanorc 11 years ago
conf.nanorc First nanorc commit. 14 years ago
csharp.nanorc Change tab coloring behavior for several rc's 9 years ago
css.nanorc Changed css file regex to also match scss files. 10 years ago
cython.nanorc Compatibility fixes for OSX. Closes scoptaz/nanorc#13 11 years ago
dot.nanorc More syntax files from craigbarnes/nanorc 11 years ago
email.nanorc More syntax files from craigbarnes/nanorc 11 years ago
erb.nanorc added puppet and ERB highlighting 10 years ago
fish.nanorc Compatibility fixes for OSX. Closes scoptaz/nanorc#13 11 years ago
fortran.nanorc updated nano 11 years ago
gentoo.nanorc applied patch 11 years ago
git.nanorc Fix previous commit 11 years ago
gitcommit.nanorc added alias to gitcommit for backwards compatibility in nanorc files 11 years ago
glsl.nanorc Change tab coloring behavior for several rc's 9 years ago
go.nanorc Change tab coloring behavior for several rc's 9 years ago
groff.nanorc First nanorc commit. 14 years ago
haml.nanorc Added haml.nanorc 12 years ago
html.nanorc Fixes #43: html.nanorc yellow regex is greedy and matches all quotes until the final quote. 10 years ago
ini.nanorc Change tab coloring behavior for several rc's 9 years ago
inputrc.nanorc Change tab coloring behavior for several rc's 9 years ago
java.nanorc First nanorc commit. 14 years ago
javascript.nanorc Change tab coloring behavior for several rc's 9 years ago
js.nanorc Added JavaScript rc 12 years ago
json.nanorc Change tab coloring behavior for several rc's 9 years ago
keymap.nanorc Change tab coloring behavior for several rc's 9 years ago
kickstart.nanorc Change tab coloring behavior for several rc's 9 years ago
ledger.nanorc Allow short ledger and beancount extensions 9 years ago
license whoops needed to do add 10 years ago
lisp.nanorc Change tab coloring behavior for several rc's 9 years ago
lua.nanorc Added lua.nanorc 13 years ago
makefile.nanorc More syntax files from craigbarnes/nanorc 11 years ago
man.nanorc First nanorc commit. 14 years ago
markdown.nanorc fixed md bug 11 years ago
mpdconf.nanorc Change tab coloring behavior for several rc's 9 years ago
mutt.nanorc First nanorc commit. 14 years ago
nanorc Added Dockerfile syntax abilities. 9 years ago
nanorc.nanorc Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 10 years ago
nginx.nanorc Change tab coloring behavior for several rc's 9 years ago
patch.nanorc First nanorc commit. 14 years ago
peg.nanorc Change tab coloring behavior for several rc's 9 years ago
perl.nanorc Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 10 years ago
perl6.nanorc fixed line errors that caused nano to complain 9 years ago
php.nanorc Remove lazy operator for OS X compatibility 10 years ago
pkg-config.nanorc Change tab coloring behavior for several rc's 9 years ago
pkgbuild.nanorc Compatibility fixes for OSX. Closes scoptaz/nanorc#13 11 years ago
po.nanorc Change tab coloring behavior for several rc's 9 years ago
pov.nanorc First nanorc commit. 14 years ago
privoxy.nanorc Change tab coloring behavior for several rc's 9 years ago
puppet.nanorc improved highlighting from https://github.com/llowder/puppet-nano/ 9 years ago
python.nanorc True and False are Python built-in objects 9 years ago
reST.nanorc First nanorc commit. 14 years ago
rpmspec.nanorc Change tab coloring behavior for several rc's 9 years ago
ruby.nanorc Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 10 years ago
scala.nanorc added scala syntax highlighting v1 10 years ago
sed.nanorc Change tab coloring behavior for several rc's 9 years ago
sh.nanorc Fixed for bad regex. From justinribeiro/nanorc@449447fffe 9 years ago
sls.nanorc Add support for SaltStack states (*.sls). 9 years ago
sql.nanorc Change tab coloring behavior for several rc's 9 years ago
systemd.nanorc Change tab coloring behavior for several rc's 9 years ago
tcl.nanorc Add tcl syntax highlighting from https://code.google.com/p/nanosyntax/ (lightly altered) 10 years ago
tex.nanorc Forgot some regex bs 13 years ago
vala.nanorc Change tab coloring behavior for several rc's 9 years ago
vi.nanorc Change tab coloring behavior for several rc's 9 years ago
xml.nanorc Some minor changes to c and xml 12 years ago
xresources.nanorc Change tab coloring behavior for several rc's 9 years ago
yaml.nanorc Change tab coloring behavior for several rc's 9 years ago
yum.nanorc Change tab coloring behavior for several rc's 9 years ago
zsh.nanorc Fixed for bad regex. From justinribeiro/nanorc@449447fffe 9 years ago
zshrc.nanorc Adds missing zshrc symlink 9 years ago

Readme.rst

***************************************
Improved Nano Syntax Highlighting Files
***************************************

This repository holds ``{lang}.nanorc`` files that have improved
definitions of syntax highlighting for various languages.
These should be placed inside of the ``~/.nano/`` directory.
Alternatively::

    git clone git@github.com:scopatz/nanorc.git ~/.nano
    
*Note - if you have any issues, alternatively use::

    git clone https://github.com/scopatz/nanorc.git ~/.nano


Once there you should add the languages you want to your
nano configuration file ``~/.nanorc``.  For example::

    ## C/C++
    include "~/.nano/c.nanorc"

You can also append the contents of ``~/.nano/nanorc`` into your
``~/.nanorc`` to include all languages::

    cat ~/.nano/nanorc >> ~/.nanorc