Nano installs syntax highlighting in /usr/local/share/nano (or /usr/share/nano) but doesn't provide a default nanorc configuration to load them.
Plan is to generate it dynamically from the files available in this directory:
/usr/local/etc/nanorc
include /usr/local/share/nano/texinfo.nanorc include /usr/local/share/nano/mgp.nanorc include /usr/local/share/nano/sh.nanorc include /usr/local/share/nano/java.nanorc include /usr/local/share/nano/awk.nanorc include /usr/local/share/nano/nanorc.nanorc include /usr/local/share/nano/rust.nanorc [...]