Tue 17 Nov 2009 09:53:59 PM UTC, original submission:
- If you want to add a language for a buffer ('en': default):
/aspell enable en,de
This will not work as expected.
First you have to disable aspell:
/aspell disable
and now you can set the language(s) for the buffer with:
/aspell enable en,de
BTW: Changing the lang works:
/aspell enable en # uses 'en' for spellcheck
/aspell enable de # now 'de' is used
/aspell enable en # and back to 'en'
- Disable aspell will not work if a default dict is set.
/aspell disable
aspell: "server.#test1-qwertz3" removed
but spell checking still goes on, using the default dict.
Actually additional languages will be removed only:
# aspell.check.default_dict "en"
/aspell disable
/aspell enable en,de
/aspell disable
This will remove 'de'
- If you want to disable aspell complete you have to:
/set aspell.check.default_dict=""
- in weechat_user.en.txt 'enable lang[,lang]' should be mentioned:
/aspell dictlist | enable lang[,lang] | disable | addword [lang] word
Default settings:
aspell.check.commands "ame,amsg,away,command,cycle,kick,kian,me,msg,notice,part,query,quit,topic"
aspell.check.default_dict "en"
aspell.check.during_search off
aspell.check.real_time off
aspell.check.word_min_length 2
aspell.look.color lightred
Tested with weechat git: 435b57e641e766ed04f6e0b5910390c238ce04dc
|