mirror of
https://github.com/sharkdp/bat
synced 2024-12-30 06:03:06 +00:00
24 lines
569 B
Text
24 lines
569 B
Text
|
%YAML 1.2
|
||
|
---
|
||
|
# http://www.sublimetext.com/docs/3/syntax.html
|
||
|
name: hosts
|
||
|
file_extensions:
|
||
|
- hosts
|
||
|
scope: source.hosts
|
||
|
|
||
|
contexts:
|
||
|
main:
|
||
|
- scope: comment.line.number-sign
|
||
|
match: \#.*
|
||
|
comment: comment
|
||
|
|
||
|
- match: ^\s*([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|[0-9a-f:]+)
|
||
|
comment: ipaddress
|
||
|
scope: constant.numeric.ipaddress
|
||
|
|
||
|
|
||
|
- match: \s(localhost|ip6-loopback|ip6-localhost|ip6-localnet|ip6-mcastprefix|ip6-allnodes|ip6-allrouters|ip6-allhosts|broadcasthost)\b
|
||
|
scope: keyword.host.predefined}
|
||
|
comment: prefdfined
|
||
|
|