Skip to content

How to spellcheck only specific sections of a YAML document? #183

Answered by facelessuser
nasbench asked this question in Q&A
Discussion options

You must be logged in to vote

You could certainly try to use the context filter, if it works well enough, then I'd say go for it.

Keep in mind that I do not have a specific filter for every file type out there, nor is my intention to as I am not familiar with every file type out there. That is why the plugin system exists. It might be more appropriate to write a filter specifically for a specific file type if something like context is not sufficient,. I could potentially see a plugin parsing YAML content with PyYAML and targeting specific sections, etc.

I could even maybe see an argument for a YAML filter built into PySpelling as we already have the dependency, but work would have to be done to bring such a filter to …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@facelessuser
Comment options

@nasbench
Comment options

@nasbench
Comment options

@facelessuser
Comment options

Answer selected by nasbench
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants