Thread: [Vim-latex-devel] Spell-check not working with latex-suite
Brought to you by:
srinathava,
tmaas
From: Eyolf Ø. <ey...@oe...> - 2008-06-13 15:10:38
|
I've discovered that the built-in spell checker in vim doesn't work if ft=tex is set. It's not just the syntax highlighting -- ]s doesn't jump to the next spelling mistake.. I've searched through the source files for "spell", without finding anything that looked suspicious, but I'm no vimscript guru so I may have missed something. Anyone else having this problem, or should I review my own configuration? I've tried it from a clean slate too, different user, no .vimrc file, but same result. Eyolf -- Alright, you!! Imitate a WOUNDED SEAL pleading for a PARKING SPACE!! |
From: Ted P. <te...@te...> - 2008-06-13 15:17:49
|
It works for me. Note that I also use the engspchk plugin, which seems to do a better job when syntax highlighting is turned on. That being said, "]s" has nothing to do with that plugin, and it works for me whether or not I load it. Are you sure you have something like... set spell set spelllang=en_us in your .vimrc? --Ted Eyolf Østrem wrote: > I've discovered that the built-in spell checker in vim doesn't work if > ft=tex is set. It's not just the syntax highlighting -- ]s doesn't jump to > the next spelling mistake.. I've searched through the source files for > "spell", without finding anything that looked suspicious, but I'm no > vimscript guru so I may have missed something. > Anyone else having this problem, or should I review my own configuration? > I've tried it from a clean slate too, different user, no .vimrc file, but > same result. > > Eyolf > -- Ted Pavlic <te...@te...> |
From: Eyolf Ø. <ey...@oe...> - 2008-06-13 17:34:38
|
On 13.06.2008 (11:17), Ted Pavlic wrote: > It works for me. Hm. OK, I'll have to check my configuration then. > Are you sure you have something like... > > set spell > set spelllang=en_us > > in your .vimrc? Yes, I do. Also, if I set the filetype to anything other than "tex", everything works as expected, but if I change it to tex, the spelling highlighting disappears, and none of the mistakes are found (so it's not just a matter of missing/overridden highlighting). Eyolf -- Thank God I'm an atheist. |
From: Ted P. <te...@te...> - 2008-06-13 22:06:55
|
>> It works for me. > > Hm. OK, I'll have to check my configuration then. I've been trying to think of anything special I had to do to get spell checking to work, but I just can't come up with anything. I've scanned through my .vimrc, but I don't see anything... Now, for Vim7, I did have to do a... let g:tex_flavor='latex' However, I assume that that's already the case for you (or else you wouldn't be seeing Vim-LaTeX at all). >> Are you sure you have something like... >> >> set spell >> set spelllang=en_us >> >> in your .vimrc? > > Yes, I do. Also, if I set the filetype to anything other than "tex", > everything works as expected, but if I change it to tex, the spelling > highlighting disappears, and none of the mistakes are found (so it's not > just a matter of missing/overridden highlighting). Try misspelling a word. If you cursor over the word, can you type: z= to get suggestions? What happens? --Ted -- Ted Pavlic <te...@te...> |
From: Eyolf Ø. <ey...@oe...> - 2008-06-14 04:53:19
|
On 13.06.2008 (18:06), Ted Pavlic wrote: > >> It works for me. > > > > Hm. OK, I'll have to check my configuration then. > > I've been trying to think of anything special I had to do to get spell > checking to work, but I just can't come up with anything. I've scanned > through my .vimrc, but I don't see anything... > > Now, for Vim7, I did have to do a... > > let g:tex_flavor='latex' Hey -- thanks! That solved another of my annoyances, but not this one. I think it's something in my tweaked syntax file. I thought I had been careful enough when I wrote it, but apparently I hadn't. Sorry for the noise (and thanks for the help). Eyolf -- Scientists were preparing an experiment to ask the ultimate question. They had worked for months gathering one each of every computer that was built. Finally the big day was at hand. All the computers were linked together. They asked the question, "Is there a God?". Lights started blinking, flashing and blinking some more. Suddenly, there was a loud crash, and a bolt of lightning came down from the sky, struck the computers, and welded all the connections permanently together. "There is now", came the reply. |
From: Ted P. <te...@te...> - 2008-06-15 14:51:06
|
If you find out it isn't something that you did but a problem that others could experience, be sure to post your solution. :) --Ted Eyolf Østrem wrote: > I think it's something in my tweaked syntax file. I thought I had been > careful enough when I wrote it, but apparently I hadn't. Sorry for the > noise (and thanks for the help). -- Ted Pavlic <te...@te...> |
From: Raffi K. <kha...@cs...> - 2008-12-06 22:30:15
|
Eyolf Østrem <eyolf <at> oestrem.com> writes: > I've discovered that the built-in spell checker in vim doesn't work if > ft=tex is set. It's not just the syntax highlighting -- ]s doesn't jump to > the next spelling mistake. Has anyone ever found a solution to this? |
From: Jeffrey L. <jef...@uc...> - 2012-05-27 16:55:17
|
I also have the vim-latex suite installed and my spell check does not work. Intentionally misspelled works are not caught. Yes, I have en_us as the spelllang and have turned on spell check. Did anyone find a solution to this? |