Re: [Vim-latex-devel] problem with periods and commas
Brought to you by:
srinathava,
tmaas
From: Robert B. <rb...@ne...> - 2006-11-24 14:37:15
|
On Fri, 24 Nov 2006, Kelvie Wong wrote: > Hmm, I seem to be having this problem also -- but with the \ (leader) > key. I cannot type \c or \\ any more without having an error message > pop up. > > I have temporarily got around this situation with imaps, but I'd like > a more permanent solution also. > > I may have the vimspell plugin installed; to what file does the diff refer > to? > > On 11/16/06, Robert Burrows <rb...@ne...> wrote: >> >> 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 Kelvie, This diff refers to the ~/.vim/plugin/vimspell.vim file on my Linux system. In an earlier post I described how I could also fix my problem by modifying the ~/.vim/ftplugin/latex-suite/main.vim file. I can send you that diff if you don't have it. Good luck, ---- Robert Burrows, PhD New England Biometrics rb...@ne... |