rjocoleman / language-hosts

Language support for `/etc/hosts` files in Atom.
3 stars 0 forks source link

Doesn't highlight hostnames that don't contain dots #4

Open dflock opened 8 years ago

dflock commented 8 years ago

The scope for localhost is just source.hosts, while the scope for the localhost-index.test is source.hosts & string.unquoted.domain.hosts:

screenshot - 16-08-15 - 08 41 21 pm

it seems that hostnames need a period/full-stop to trigger that regex?