-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathREADME
More file actions
18 lines (9 loc) · 1.49 KB
/
README
File metadata and controls
18 lines (9 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2345
Vim 7.0 introduced excellent spell-checking features which made external spell-checker plugins pretty much obsolete. Unfortunately not all languages can be supported through Vims dictionary format. Either the language is morphologically too complex or better custom solutions exist already for some languagessolutions which are not compatible with Vims spelling checker. Finnish, for example, is a language which doesnt currently benefit from Vims spell-checking features.
This plugin (Vimchant) provides a simple but fast on-the-fly spelling checker which uses Enchant as its back-end program. Enchant is a spell-checker library and utility included in modern GNU/Linux systems. Enchant itself is only a front-end for many different spell-checkers, including Voikko, Zemberek, Hunspell, Hspell, Uspell, Myspell, Aspell and Ispell. All the spell-checkers and languages which can be supported through Enchant are available to Vim through this plugin.
Manual for Vimchant is included, just type
:help vimchant.txt
The most interesting commands are \ss (spell-checker on/off) and \sl (change language). The default interval period before running the spell-check is rather long (4 seconds). To make the spell-checker respond faster (1 second, for example) add the following line to your .vimrc file:
set updatetime=1000
See the manual for more info. See also the Enchant homepage:
http://www.abisource.com/projects/enchant/