Comment #5 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

I don't understand the problem:

1) ownsyntax foo does implicitly clear the syntax so no need for :syn clear
2) without :set syntax=vim the errors will immediatly highlighted as errors (as expected) 3) When doing :set syntax=vim no spelling errors will be highlighted. That might be related to the vim syntax file but that doesn't look like it is related to the :ownsyntax command (interestingly :syn spell toplevel does not work) 4) Using :set syntax=c it will work as exptected (when also using :syn spell toplevel), not sure, why it doesn't work with Vim syntax file
5) If e.g. you use the example text:
" foo bar baz
it should also simply work, when following your steps.

so I tend to not consider this as a bug.

--
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