sublime-markdown-extended icon indicating copy to clipboard operation
sublime-markdown-extended copied to clipboard

Breaks spell check in YAML front matter

Open iondune opened this issue 8 years ago • 4 comments
trafficstars

When I switch to Markdown Extended syntax, spell check seems to miss the first letter of each word in the YAML front matter. See the attached image, where each word is marked as incorrectly spelled and the first letter of each word is not correctly spelled. If I duplicate the first letter, the word is considered correct.

markdown_extended_spell_check

iondune avatar May 27 '17 16:05 iondune

hmm, does spell check work properly in YAML in general?

jonschlinkert avatar May 27 '17 17:05 jonschlinkert

If I open a separate .yml file, using the built-in YAML syntax or forcing Markdown Extended syntax, spell check works as intended.

iondune avatar May 27 '17 18:05 iondune

This is a bug of the yaml syntax.

Though you said that the spell checker works as intended for the yaml syntax. However, it is because spell checking is not applied to source file in default. If you create a new yaml file and set

view.settings().set("spelling_selector", "source.yaml")

The same highlight will be shown.

randy3k avatar Jul 24 '17 00:07 randy3k

I'm still experiencing this issue, is there a workaround?

merkmat avatar Oct 19 '18 17:10 merkmat