Two hashtables have been added to store the spellers currently used (in all buffers) and info for each buffer: array with pointers to spellers and state of aspell for this buffer. Therefore the spellers are not destroyed and created again on each buffer switch, or each time screen is refreshed when window is split.
27 lines
901 B
Plaintext
27 lines
901 B
Plaintext
[[command_aspell_aspell]]
|
|
[command]*`aspell`* aspell plugin configuration::
|
|
........................................
|
|
/aspell enable|disable|toggle
|
|
listdict
|
|
setdict <dict>[,<dict>...]
|
|
deldict
|
|
addword [<dict>] <word>
|
|
|
|
enable: enable aspell
|
|
disable: disable aspell
|
|
toggle: toggle aspell
|
|
listdict: show installed dictionaries
|
|
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
|
|
deldict: delete dictionary used on current buffer
|
|
addword: add a word in personal aspell dictionary
|
|
|
|
Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands).
|
|
|
|
To enable aspell on all buffers, use option "default_dict", then enable aspell, for example:
|
|
/set aspell.check.default_dict "en"
|
|
/aspell enable
|
|
|
|
Default key to toggle aspell is alt-s.
|
|
........................................
|
|
|