Re: [Vim-latex-devel] problem with periods and commas
Brought to you by:
srinathava,
tmaas
From: Robert B. <rb...@ne...> - 2006-11-16 17:32:11
|
On Thu, 16 Nov 2006, pm5 wrote: > Sorry that this is not a direct reply to the original message. I've > just joined the mailing list and have no means to reply to previous > posts. > > I had this problem, too. And when I removed vimspell plugin, the > problem was gone. > > I was using > > vim 6.3 > tetex 2.0.2 > vim-latexsuite 0.20041219-1 > > on Debian stable. All Debian packages, along with some other vim plugins. > >> I have been having a bizarre problem while editing LaTeX files: the cursor >> does not move after entering a '.' or a ','. This is with >> Vim 7.0.122 >> teTeX 3.0-23 >> latexSuite20060325 >> on Debian/testing and the 2.6.17 Linux kernel. This works for me, too. It turns out that commenting the 's:enable_autocommand" lines does the trick. The diff is 1669,1670c1669,1670 < " let s:enable_autocommand=(s:enable_menu || < " \ s:SpellGetOption("spell_auto_type", "Default") != "") --- > let s:enable_autocommand=(s:enable_menu || > \ s:SpellGetOption("spell_auto_type", "Default") != "") 1676,1681c1676,1681 < " if s:enable_autocommand < " augroup SpellCommandPlugin < " au BufEnter * call s:SpellSetupBuffer() < " au FileType * call s:SpellChangeFileType(expand("<amatch>")) < " augroup END < " endif --- > if s:enable_autocommand > augroup SpellCommandPlugin > au BufEnter * call s:SpellSetupBuffer() > au FileType * call s:SpellChangeFileType(expand("<amatch>")) > augroup END > endif ---- Robert Burrows, PhD New England Biometrics rb...@ne... |