1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 08:35:39 +01:00
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.
2015-10-24 06:58:36 -04:00
apacheconf.nanorc Add htaccess to file patter 2015-04-14 10:14:31 +01:00
asciidoc.nanorc Add another popular file name extension 'adoc' 2015-09-26 21:13:07 +02:00
asm.nanorc First nanorc commit. 2010-07-28 17:15:43 -05:00
awk.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
c.nanorc Made whitespace highlighting optional 2014-01-04 17:42:19 +11:00
cmake.nanorc edits to cmake to make more readable. 2012-11-08 13:22:38 -06:00
coffeescript.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
colortest.nanorc More syntax files from craigbarnes/nanorc 2013-06-02 12:50:31 +02:00
conf.nanorc First nanorc commit. 2010-07-28 17:15:43 -05:00
csharp.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
css.nanorc Changed css file regex to also match scss files. 2014-05-12 00:57:15 -04:00
cython.nanorc Compatibility fixes for OSX. Closes scoptaz/nanorc#13 2013-07-22 21:24:55 -07:00
Dockerfile.nanorc Added dockerfile syntax highlighting for *.dockerfile 2015-10-21 09:27:43 -04:00
dot.nanorc More syntax files from craigbarnes/nanorc 2013-06-02 12:50:31 +02:00
email.nanorc More syntax files from craigbarnes/nanorc 2013-06-02 12:50:31 +02:00
erb.nanorc added puppet and ERB highlighting 2014-08-02 09:05:51 +01:00
fish.nanorc Compatibility fixes for OSX. Closes scoptaz/nanorc#13 2013-07-22 21:24:55 -07:00
fortran.nanorc updated nano 2013-02-01 10:32:15 -06:00
gentoo.nanorc applied patch 2013-03-27 10:58:49 -05:00
git.nanorc Fix previous commit 2013-06-02 13:10:40 +02:00
gitcommit.nanorc added alias to gitcommit for backwards compatibility in nanorc files 2013-05-31 15:45:45 -05:00
glsl.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
go.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
groff.nanorc First nanorc commit. 2010-07-28 17:15:43 -05:00
haml.nanorc Added haml.nanorc 2012-03-12 15:36:30 +01:00
html.nanorc Fixes #43: html.nanorc yellow regex is greedy and matches all quotes until the final quote. 2014-09-30 18:15:26 -04:00
ini.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
inputrc.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
java.nanorc First nanorc commit. 2010-07-28 17:15:43 -05:00
javascript.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
js.nanorc Added JavaScript rc 2012-06-13 13:12:05 -05:00
json.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
keymap.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
kickstart.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
ledger.nanorc Allow short ledger and beancount extensions 2015-07-30 23:14:19 +03:00
license whoops needed to do add 2014-03-04 22:54:17 -06:00
lisp.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
lua.nanorc Added lua.nanorc 2011-02-02 13:58:00 -06:00
makefile.nanorc More syntax files from craigbarnes/nanorc 2013-06-02 12:50:31 +02:00
man.nanorc First nanorc commit. 2010-07-28 17:15:43 -05:00
markdown.nanorc fixed md bug 2013-07-15 16:39:41 -05:00
mpdconf.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
mutt.nanorc First nanorc commit. 2010-07-28 17:15:43 -05:00
nanorc Added Dockerfile syntax abilities. 2015-09-18 14:28:59 -04:00
nanorc.nanorc Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 2014-08-02 23:25:00 +01:00
nginx.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
patch.nanorc First nanorc commit. 2010-07-28 17:15:43 -05:00
peg.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
perl6.nanorc fixed line errors that caused nano to complain 2015-07-23 12:39:17 -05:00
perl.nanorc Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 2014-08-02 23:25:00 +01:00
php.nanorc Remove lazy operator for OS X compatibility 2014-10-05 07:42:44 +07:00
pkg-config.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
pkgbuild.nanorc Compatibility fixes for OSX. Closes scoptaz/nanorc#13 2013-07-22 21:24:55 -07:00
po.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
pov.nanorc First nanorc commit. 2010-07-28 17:15:43 -05:00
privoxy.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
puppet.nanorc improved highlighting from https://github.com/llowder/puppet-nano/ 2015-09-20 22:42:07 +01:00
python.nanorc True and False are Python built-in objects 2015-06-21 19:05:44 +03:00
Readme.rst add alternate cloning method 2014-06-20 14:23:58 -04:00
reST.nanorc First nanorc commit. 2010-07-28 17:15:43 -05:00
rpmspec.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
ruby.nanorc Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 2014-08-02 23:25:00 +01:00
scala.nanorc added scala syntax highlighting v1 2014-08-01 19:29:24 -04:00
sed.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
sh.nanorc Fixed for bad regex. From justinribeiro/nanorc@449447fffe 2015-04-21 09:04:44 +02:00
sls.nanorc Add support for SaltStack states (*.sls). 2015-08-20 09:14:32 -04:00
sql.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
systemd.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
tcl.nanorc Add tcl syntax highlighting from https://code.google.com/p/nanosyntax/ (lightly altered) 2014-08-02 23:18:46 +01:00
tex.nanorc Forgot some regex bs 2011-06-26 17:34:26 -05:00
vala.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
vi.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
xml.nanorc Some minor changes to c and xml 2012-12-10 20:23:03 -06:00
xresources.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
yaml.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
yum.nanorc Change tab coloring behavior for several rc's 2015-10-24 06:58:36 -04:00
zsh.nanorc Fixed for bad regex. From justinribeiro/nanorc@449447fffe 2015-04-21 09:04:44 +02:00
zshrc.nanorc Adds missing zshrc symlink 2015-09-19 22:21:48 -04:00

***************************************
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