mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Get rid of message `Error in /usr/share/nano-syntax-highlighting/etc-hosts.nanorc on line 11: Color "normal" not understood.` after nano exits.
15 lines
244 B
Text
15 lines
244 B
Text
## 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 "^#.*"
|
|
|