Mercurial > repos > other > linux
view nanorc @ 101:845e08259ab0
Syntax highlighting strings in PHP/HTML is complicated!
Still has problems with colouring mixed HTML strings and object functions
but this seems unavoidable with the regexes we have without losing
colouring elsewhere
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 02 Apr 2018 20:17:48 +0100 |
parents | e7a2fbd79035 |
children | f2d500466492 |
line wrap: on
line source
set nowrap set nonewlines set autoindent # Note: This won't work in older Nano, but if we include "set const" then newer Nano complains # DESPITE including "set quiet" later set constantshow ## Set quiet mode to deal with differences between Desktop and Server version support set quiet ## Nanorc files include "~/.nanorc.d/nanorc.nanorc" ## Patch files include "~/.nanorc.d/patch.nanorc" ## Perl include "/usr/share/nano/perl.nanorc" ## Python include "~/.nanorc.d/python.nanorc" ## Ruby include "/usr/share/nano/ruby.nanorc" ## PHP (and HTML) include "~/.nanorc.d/php.nanorc" ## Bourne shell scripts include "~/.nanorc.d/sh.nanorc" ## XML include "~/.nanorc.d/xml.nanorc"