feat: add custom dictionary to aspell
This commit is contained in:
parent
37f05c1163
commit
3dcc3b3f34
1 changed files with 7 additions and 4 deletions
|
|
@ -14,10 +14,13 @@ in {
|
||||||
aspell = aspell.overrideAttrs (super: {
|
aspell = aspell.overrideAttrs (super: {
|
||||||
postInstall = super.postInstall + ''
|
postInstall = super.postInstall + ''
|
||||||
mkdir -p $out/etc
|
mkdir -p $out/etc
|
||||||
cat > $out/etc/aspell.conf << EOF
|
cat >$out/lib/aspell/en_US-custom.multi <<EOF
|
||||||
lang en_US
|
add en_US-w_accents.multi
|
||||||
add-extra-dicts en-computers.rws
|
add en-computers.rws
|
||||||
add-extra-dicts en_US-science.rws
|
add en_US-science.rws
|
||||||
|
EOF
|
||||||
|
cat >$out/etc/aspell.conf <<EOF
|
||||||
|
master en_US-custom
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue