SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

[Completions] Highlight supported html tags in the details field #291

Closed deathaxe closed 4 years ago

deathaxe commented 4 years ago

ST 4073+ supports html in the "details" key of a sublime-completion.

see: https://github.com/sublimehq/sublime_text/issues/3093#issuecomment-612144800

They should be highlighted by the sublime-completion syntax.

FichteFoll commented 4 years ago

Just thinking out loud, but this is probably going to be a bit annoying due to being quoted and the command's href requiring double quotes for the args. We probably can't use embed because that.

deathaxe commented 4 years ago

Wouldn't be useful to embed the whole html syntax anyway due to the limited support of only few tags. Not yet having an idea about the quoted href, but the normal <code>, <i>, ... could propably receive a dedicated scope, just as feedback to see they are supported.