[Vim-latex-devel] Some issues with completion
Brought to you by:
srinathava,
tmaas
From: Dan P. <da...@lc...> - 2005-11-21 04:18:11
|
Hi there, \ref and \cite completion did not work for me out of the box with the 2005.11.19 release and vim 6.3.86 on a debian testing linux machine. The issue is with grep: curly brackets were not being correctly escaped. This is with the line set grepprg=3D/bin/grep\ -nH\ $* in $VIM/ftplugin/tex.vim. It might be my version of grep...I'm not sure. In any case, two changes to $VIMRUNTIME/ftplugin/latex-suite/texview.vim got things working for me. In both cases, I added double-quotes to expressions to fix the issue. First, I changed line 543 to call Tex_Grepadd('"@.*{'.a:prefix.'"', "%") Second, on line 625: call Tex_Grepadd('"\label{'.a:prefix.'"', "%") I wanted to express my appreciation for the work you guys put into latex-suite. It is immensely convenient. Hopefully the info above will be useful to you. cheers, Dan --=20 Daniel Pemstein Email: db...@ui..., da...@lc... Web: http://www.danpemstein.com PGP: http://www.danpemstein.com/files/pgp.txt |