Vim is capable of highlighting rare words, but because good words have
priority, there is no effect if I mark some good words as rare. People
may want to classify words as rare not only because they are rare, but
also because they are rude or offensive. Sometimes, rare words might
be typed by mistake and, since they are correctly spelled, the mistake
will remain unnoticed. Off course I could simply mark theses words as
bad, but because they are correctly spelled I prefer to flag them as
rare. I have already made the change in my mercurial version of Vim's
source code, which is very convenient for me, but I think it would be
better for most users if rare words have priority over good words.
Currently there is no command to add words as rare (like zg to good
words and zw for bad ones), but we can add them manually to
spell/**.utf-8.add files.
I'm sending the diff generated by mercurial with the proposed changes
for src/spell.c and runtime/doc/spell.txt. I think few users would
note the new default since certainly few people added a list of rare
words for their personal spell dictionaries. However, once Vim is
effectively capable of flagging words as rare, some people may start
to create and publish their lists of rare words.
Thanks,
Jakson Aquino
Thanks. Makes sense. I'll have a look at it later.
--
|
Ceci n'est pas une pipe.
/// Bram Moolenaar -- Br...@Moolenaar.net -- 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://ICCF-Holland.org ///