18 Commits

Author SHA1 Message Date
Peter Aronoff
590927f572 Update links to point to preservim 2022-02-13 07:37:47 -05:00
Caleb Maclennan
667426a017 Merge pull request #34 from robinp/master
Make cached spelling file directory configurable.
2020-10-24 12:56:51 +03:00
Brian C. Lane
e80520718d Set spelllang correctly
Full paths are not allowed in spelllang, only the lang names.

In the ./spell/ directory the files are named using the 'lang' which in
the case of wordy is the dict name.

This patch drops the actual lang from the .spl path, and only passes
the dict names to spelllang.

NOTE: I am not a vimscript expert, this solution works for me when
loading vim-wordy using pathogen. Closes issue #33
2019-08-25 10:39:02 -07:00
Robin Palotai
4e097f5552 Make cached spelling file directory configurable.
Introduces the `g:wordy_spell_dir` variable. This is useful with
`nixpkgs` or other distros where plugins are installed into unwritable
locations.
2019-08-19 15:00:09 +02:00
rndnoise
aa66dfff91 Fix excessive regeneration of spelling dictionaries 2018-03-08 13:32:05 -06:00
Suraj N. Kurapati
bc6b75ad9a use tempname() for portability; map(), docs, style
Use tempname() for portably obtaining a temporary filename.

Use map() instead of a for-loop.

Add comment explaining the purpose of the newly added code.

Add l: prefix to keep coding style in-line with rest of code.
2015-04-26 19:58:31 -07:00
Jakson Alves de Aquino
03680e115b mark words dynamically: don't need 2 sets of dicts
The dic file is read in a list, a new list is created with
the "!" replaced with "?", the new list is saved in a temporary
file, which is used as the dic file. Finally, after used, the
temporary file is deleted.
2015-04-26 19:44:55 -07:00
Suraj N. Kurapati
210dd1077d GH-15: flag words as rare instead of bad in NeoVim
This change marks all words in all dictionaries as rare words so that
NeoVim highlights them as SpellRare instead of SpellBad.  This lets you
distinguish between wordy writing and normal misspellings, respectively.

In order for this to work, your NeoVim needs to be patched as follows:

  https://github.com/neovim/neovim/pull/2456

  https://groups.google.com/forum/#!topic/vim_dev/rPWOoR3ZgSA

See `:help spell-wordlist-format` for details about dictionary markings.
2015-04-26 17:43:29 -07:00
Reed Esau
d13caf6137 Truncating message line to avoid enter key 2014-08-21 02:44:21 -06:00
Reed Esau
8db14fd53e Added completion list; deprecated many xWordy commands 2014-08-07 03:22:03 -06:00
Reed Esau
6437ef8220 Add an 'off' position to the ring of wordy dictionaries #4 2014-06-24 02:39:07 -06:00
Reed Esau
1b6c5ceb68 bugfix for PrevWordy command 2014-03-14 23:58:47 -06:00
Reed Esau
29bded611e simplified ring; multiple types 2014-03-12 01:46:21 -06:00
Reed Esau
fa9a2faf9c First cut of experimental ring of dictionaries 2014-03-10 22:17:23 -06:00
Reed Esau
1e4016f5ff ongoing 2014-01-16 23:27:54 -07:00
Reed Esau
29fa9b337c ongoing 2014-01-16 22:54:28 -07:00
Reed Esau
888f40ef64 ongoing 2014-01-16 03:59:44 -07:00
Reed Esau
32858a7825 ongoing 2014-01-16 03:49:44 -07:00