Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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

":set spell spelllang=en" acts strangely after ":ownsyntax txt":
either no spelling check is done, or the incorrect dictionary is used for highlighting unknown words.


What steps will reproduce the problem?
1. Start Vim with "vim -u NONE"
2. Enter Ex commands:

 :syntax on
 :help
:set spell spelllang=en (OK: Vim correctly highlights unknown words in help window)
 :split
:ownsyntax txt (WRONG: Vim no longer highlights unknown words in top help window) :set spell spelllang=fr (WRONG: still no unknown words highlighted in top help windows!?) :set spell spelllang=en (WRONG: now French dictionary is used in top help window instead of English for highligthting typos!?) :set spell spelllang=fr (WRONG: now English dictionary is used in top window, instead of French for highlighting typos!?)


What is the expected output? What do you see instead?

See comments in above steps.
I would expect that ":set spell spelllang=en" works and use the English dictionary after ":ownsyntax txt"

What version of the product are you using? On what operating system?

Vim-7.3.629 (huge) on Linux x86 (xubuntu-12.04)

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

Raspunde prin e-mail lui