Re: completion using spelling lists
- Marvin Renich wrote:
> Is there a way to use completion with the current spelling list? FromYou can call this a wishlist item.
> :help completion I see ^X^K for dictionary completion, but this uses the
> 'dict' option, which must be set manually. ^Xs gives spelling
> suggestions, but these are more appropriate for incorrectly-spelled
> words than for incomplete words.
> What I am looking for is a way to use the current in-memory word list
> which is the composite of the spell file from rtp, the 'spellfile'
> option, and the transient internal wordlist (taking into account bad
> words, i.e. removing them).
> If there is not already a way to do this, consider this a wishlist bug
> for such a feature. I would prefer a separate ^X keystroke rather than
> adding a way to set the dict option to refer to the in-memory word list
> (which I think would be inelegant and precludes using dict separately).
Perhaps when the 'dictionary' option is empty the currently effective
spelling list can be used. Currently CTRL-X CTRL-K gives an error
message, thus I don't see backwards compatibility problems.
ARTHUR: This new learning amazes me, Sir Bedevere. Explain again how sheep's
bladders may be employed to prevent earthquakes.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://www.ICCF.nl ///