ALL.nanorc | ||
awk.nanorc | ||
c.nanorc | ||
cmake.nanorc | ||
coffeescript.nanorc | ||
colortest.nanorc | ||
csharp.nanorc | ||
css.nanorc | ||
cython.nanorc | ||
default.nanorc | ||
dot.nanorc | ||
email.nanorc | ||
git.nanorc | ||
glsl.nanorc | ||
go.nanorc | ||
html.nanorc | ||
html2.nanorc | ||
ini.nanorc | ||
inputrc.nanorc | ||
java.nanorc | ||
javascript.nanorc | ||
json.nanorc | ||
keymap.nanorc | ||
kickstart.nanorc | ||
ledger.nanorc | ||
lisp.nanorc | ||
lua.nanorc | ||
makefile.nanorc | ||
man.nanorc | ||
markdown.nanorc | ||
mpdconf.nanorc | ||
nanorc.nanorc | ||
nginx.nanorc | ||
patch.nanorc | ||
peg.nanorc | ||
php.nanorc | ||
pkg-config.nanorc | ||
pkgbuild.nanorc | ||
po.nanorc | ||
privoxy.nanorc | ||
properties.nanorc | ||
python.nanorc | ||
README.md | ||
rpmspec.nanorc | ||
ruby.nanorc | ||
sed.nanorc | ||
shell.nanorc | ||
sql.nanorc | ||
systemd.nanorc | ||
tex.nanorc | ||
vala.nanorc | ||
vi.nanorc | ||
xml.nanorc | ||
xresources.nanorc | ||
yaml.nanorc | ||
yum.nanorc |
erics_nano_syntax_highlighting
Objective: make syntax highlighting for code look like this:
Example HTML:
Example PHP:
Example CSS:
Installation instructions.
Put all of these (someextension.nanorc) files under your ~/.nano/syntax directory.
Then Put this in the ~/.nanorc
include ~/.nano/syntax/css.nanorc
include ~/.nano/syntax/html.nanorc
include ~/.nano/syntax/php.nanorc
Need an example image for the css one too.