File tree Expand file tree Collapse file tree
crates/codebook/src/dictionaries Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ Project-specific configuration is loaded from either `codebook.toml` or `.codebo
277277# - Vietnamese: "vi_vn"
278278# - Polish: "pl"
279279# - Ukrainian: "uk"
280+ # - Norwegian: "nb_no", "nn_no"
280281dictionaries = [" en_us" , " en_gb" ]
281282
282283# Custom allowlist of words to ignore (case-insensitive)
Original file line number Diff line number Diff line change @@ -149,6 +149,16 @@ static HUNSPELL_DICTIONARIES: LazyLock<Vec<HunspellRepo>> = LazyLock::new(|| {
149149 "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/uk/index.aff" ,
150150 "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/uk/index.dic" ,
151151 ) ,
152+ HunspellRepo :: new(
153+ "nb_no" ,
154+ "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/nb/index.aff" ,
155+ "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/nb/index.dic" ,
156+ ) ,
157+ HunspellRepo :: new(
158+ "nn_no" ,
159+ "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/nn/index.aff" ,
160+ "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/nn/index.dic" ,
161+ ) ,
152162 HunspellRepo :: new(
153163 "pt_pt" ,
154164 "https://raw.githubusercontent.com/streetsidesoftware/cspell-dicts/refs/heads/main/dictionaries/pt_PT/src/hunspell/Portuguese-European.aff" ,
You can’t perform that action at this time.
0 commit comments