New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make markdownCodeBlock
Spell-checkable
#30
Comments
Seems a bit silly, but I suppose adding an option for it wouldn't hurt much. |
Why would it be silly? |
Just because I can't name a single language that wouldn't automatically have spelling errors on account of language keywords. C has |
I see. So there's a misunderstanding: I do use code blocks not only for code (e.g. lists of command line options and their respective meaning). Besides, spell checking is sometimes useful in the languages you mentioned to spell-check comments and strings. |
I think a more semantic way to do that would be to highlight just the option as code.
Using code blocks for things that shouldn't even be fixed width falls under my definition of silly. You can get spell checking inside strings and comments if the syntax file for the language supports it, and you enable fenced code blocks for that language: let g:markdown_fenced_languages = ['ruby', 'javascript']
|
We follow Tim Pope's advice: tpope/vim-markdown#30
I'd like to be able to enable spell-checking in regions tagged as
markdownCodeBlock
.The text was updated successfully, but these errors were encountered: