jeffchan / sublime-text-puppet

puppet syntax highlighting for sublime text
17 stars 8 forks source link

Syntax does not correctly highlight objects with quoted titles. #2

Open Aethylred opened 12 years ago

Aethylred commented 12 years ago

If there are quotes around the title of an object being called, the tile and the object type are not hghlighted correctly.

Simplist example:

class{'name::of::class': }

More complete:

file{"a.file-${fqdn}":
    ensure   => file,
    path       => '/path/to/a.file',
    content  => template("example/${fqdn}/a.file"),
}

in these examples the words class and file stay in the default style