dotfiles-pub/common/nano/syntax/etc-hosts.nanorc

15 lines
251 B
Plaintext
Raw Normal View History

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