Skip to content

Add a way to combine dictionary processing across packages #628

@jtiee

Description

@jtiee

Check for existing issues

  • Completed

Describe the feature

I've started using Vale packages. Since a package can contain a Spelling.yml style, providing the Hunspell dictionaries alongside the style files in the package would be convenient.

When multiple packages define spelling styles, each style's spellchecks are evaluated independently. If a word like xyzzy is spelled correctly according to the dictionary in style B, spellchecking with style A flags the word as misspelled.

It would be great if all the dictionaries defined by all active styles could be processed together.

Related, it would be great if dicpath was relative to the Spelling.yml file or to the StylesPath instead of relative to where vale was executed. I recognize that this could be a breaking change, so perhaps a dictpath key could be introduced to handle the style-relative path, and using dicpath and dictpath together would be considered an error.

A style-relative dictpath would make it much easier to provide a style package that included its dictionaries and was agnostic to where vale is executed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions