Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ Project-specific configuration is loaded from either `codebook.toml` or `.codebo
# - Portuguese (Brazil): "pt_br"
# - Russian: "ru"
# - Swedish: "sv"
# - Danish: "da"
dictionaries = ["en_us", "en_gb"]

# Custom allowlist of words to ignore (case-insensitive)
Expand Down
5 changes: 5 additions & 0 deletions crates/codebook/src/dictionaries/repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ static HUNSPELL_DICTIONARIES: LazyLock<Vec<HunspellRepo>> = LazyLock::new(|| {
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/nl/index.aff",
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/nl/index.dic",
),
HunspellRepo::new(
"da",
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/da/index.aff",
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/da/index.dic",
),
]
});

Expand Down