Comment #3 on issue 78 by [email protected]: ":set spell spelllang=en" acts strangely after ":ownsyntax txt"
https://code.google.com/p/vim/issues/detail?id=78

This did not fix the following case:

gvim -u NONE -N

Insert some text:

    foo bar baz

:syntax on
:set spell spelllang=en  (OK: Vim correctly highlights "foo" and "baz")
:ownsyntax foo  (OK: Vim resets 'spell'; no words are highlighted)
:syntax clear
:set syntax=vim  (This step is optional)
:set spell spelllang=en (WRONG: 'spell' is set, but "foo" and "baz" are not highlighted.)


The "syntax clear" step is the important part. After that, "set spell" does not highlight words until after switching to another buffer and then switching back.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui