Yes, the order in which syntax definitions are included matters.
This is because the later defined filename regexes (at the tail
of the syntax name line) take precedence over the earlier ones.

If your awk recipe (when included after sh.nanorc) overrides/
disables the shell syntax highlighting, it means its filename
regex catches also things that are in fact shell scripts and
not awk scripts.

So do a 'grep ^syntax sh.nanorc awk.nanorc' and closely
compare the two regexes at the end.

It really should not be necessary to copy /etc/nanorc to
your .nanorc.  I suggest you undo that in your search for
a solution.

Also, instead of include ".nano/awk.nanorc" you should
write include "~/.nano/awk.nanorc", because otherwise
this include will only work when you are in your home
directory.

Benno

-- 
http://www.fastmail.com - mmm... Fastmail...


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to