summaryrefslogtreecommitdiff
path: root/runtime/spell
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-10 16:36:59 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-10 16:36:59 +0200
commit622925875cb9d7f04a764ed8e002e45c3a141e94 (patch)
tree93ae71a2e76b31a927953bb0735f649fb51d6702 /runtime/spell
parent9c754c4542066bbdf608738b36cf8878dbfd61d6 (diff)
downloadvim-622925875cb9d7f04a764ed8e002e45c3a141e94.zip
Fix bug: spell menu moved cursor, causing Copy not to work. Spell replacement
didn't work in 'compatible' mode.
Diffstat (limited to 'runtime/spell')
-rw-r--r--runtime/spell/README.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/runtime/spell/README.txt b/runtime/spell/README.txt
index 40837a600..d427a3c15 100644
--- a/runtime/spell/README.txt
+++ b/runtime/spell/README.txt
@@ -22,6 +22,11 @@ patch and running Vim to generate the .spl file. To do this all in one go use
the Aap program (www.a-a-p.org). It's simple to install, it only requires
Python.
+Before generating spell files, verify your system has the required locale
+support. Source the check_locales.vim script to find out. If something is
+missing, see LOCALE below.
+
+
You can also do it manually:
1. Fetch the right spell file from:
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
@@ -88,3 +93,20 @@ This procedure should work well:
files and finally move the .new.dic to .orig.dic and .new.aff to .orig.aff.
5. Repeat step 4. regularly.
+
+
+LOCALE
+
+For proper spell file generation the required locale must be installed.
+Otherwise Vim doesn't know what are letters and upper-lower case differences.
+Modern systems use UTF-8, but we also generate spell files for 8-bit locales
+for users with older systems.
+
+On Ubuntu the default is to only support locales for your own language. To
+add others you need to do this:
+ sudo vim /var/lib/locales/supported.d/local
+ Add needed lines from /usr/share/i18n/SUPPORTED
+ sudo dpkg-reconfigure locales
+
+When using the check_locales.vim script, you need to exit Vim and restart it
+to pickup the newly installed locales.