mirror of
https://github.com/scopatz/nanorc
synced 2024-11-05 01:00:00 +01:00
adfc6adccc
Get rid of message `Error in /usr/share/nano-syntax-highlighting/etc-hosts.nanorc on line 11: Color "normal" not understood.` after nano exits.
16 lines
244 B
Plaintext
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 "^#.*"
|
|
|