Open chadsr opened 3 weeks ago
It seems adding mixed support of JS and HTML style comments is not straightforward with the current action.
Svelte's ace_mode
property in https://raw.githubusercontent.com/github/linguist/master/lib/linguist/languages.yml returns html
(codemirror_mode
is htmlmixed
)
Am I correct in assuming that mixed comments of this sort are currently not possible due to the usage of ace_mode
making only HTML style comments recognisable?
Yes, that would be a challenge to overcome at this stage unfortunately. I imagine the action could check codemirror_mode
and then do something different if that is htmlmixed
; it would just add some extra layers of complexity. Open to ideas though.
Adds support for mixed comment support (JS/HTML syntax) found in
.svelte
files