nanorc/etc-hosts.nanorc
Ondřej Ešler adfc6adccc
fix highlighting for v2.9.*
Get rid of message `Error in /usr/share/nano-syntax-highlighting/etc-hosts.nanorc on line 11: Color "normal" not understood.` after nano exits.
2019-06-04 08:41:05 +02:00

16 lines
244 B
Plaintext

## Make /etc/hosts nicer to read, see `man hosts 5` to see the format
syntax "/etc/hosts" "hosts"
# IPv4
color yellow "^[0-9\.]+\s"
# IPv6
icolor green "^[0-9a-f:]+\s"
# interpunction
color white "[.:]"
# comments
color brightblack "^#.*"