comparison runtime/spell/README.txt @ 2293:e0fabd886db6 vim73

Fix bug: spell menu moved cursor, causing Copy not to work. Spell replacement didn't work in 'compatible' mode.
author Bram Moolenaar <bram@vim.org>
date Sat, 10 Jul 2010 16:36:59 +0200
parents 7bc41231fbc7
children 7cfe57329284
comparison
equal deleted inserted replaced
2292:ea3c3f13385c 2293:e0fabd886db6
19 19
20 This involves downloading the files from the OpenOffice.org server, applying a 20 This involves downloading the files from the OpenOffice.org server, applying a
21 patch and running Vim to generate the .spl file. To do this all in one go use 21 patch and running Vim to generate the .spl file. To do this all in one go use
22 the Aap program (www.a-a-p.org). It's simple to install, it only requires 22 the Aap program (www.a-a-p.org). It's simple to install, it only requires
23 Python. 23 Python.
24
25 Before generating spell files, verify your system has the required locale
26 support. Source the check_locales.vim script to find out. If something is
27 missing, see LOCALE below.
28
24 29
25 You can also do it manually: 30 You can also do it manually:
26 1. Fetch the right spell file from: 31 1. Fetch the right spell file from:
27 http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries 32 http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
28 33
86 changes the .new.dic and .new.aff files will appear. You can now figure 91 changes the .new.dic and .new.aff files will appear. You can now figure
87 out the differences with .orig.dic and .orig.aff, adjust the .dic and .aff 92 out the differences with .orig.dic and .orig.aff, adjust the .dic and .aff
88 files and finally move the .new.dic to .orig.dic and .new.aff to .orig.aff. 93 files and finally move the .new.dic to .orig.dic and .new.aff to .orig.aff.
89 94
90 5. Repeat step 4. regularly. 95 5. Repeat step 4. regularly.
96
97
98 LOCALE
99
100 For proper spell file generation the required locale must be installed.
101 Otherwise Vim doesn't know what are letters and upper-lower case differences.
102 Modern systems use UTF-8, but we also generate spell files for 8-bit locales
103 for users with older systems.
104
105 On Ubuntu the default is to only support locales for your own language. To
106 add others you need to do this:
107 sudo vim /var/lib/locales/supported.d/local
108 Add needed lines from /usr/share/i18n/SUPPORTED
109 sudo dpkg-reconfigure locales
110
111 When using the check_locales.vim script, you need to exit Vim and restart it
112 to pickup the newly installed locales.