Hey,

I use the latest svn trunk version.
If I leave the
> TexLet g:Tex_ImageDir = ''
in texrc the <F9>-completion of \includegraphics{ aborts without any
message. Setting it to
> Tex_ImageDir = '.'
brings the completion back to life. So this could be a better default
value.

But the inserted path way too long, e.g. ..//home/.../tex/file
Changing the param value for the root dir for Tex_SetupFileCompletion 
to '' solves this problem for me. I have attached a tiny patch... maybe
someone can use it sometime.

Kind regards,

Kay
--- texviewer.vim	2009-04-21 17:30:42.000000000 +0200
+++ texviewer_new.vim	2009-04-21 17:30:19.000000000 +0200
@@ -149,7 +149,7 @@
 				\ '^\.\\|\.tex$\\|\.bib$\\|\.bbl$\\|\.zip$\\|\.gz$', 
 				\ 'noext', 
 				\ Tex_GetVarValue('Tex_ImageDir', '.'), 
-				\ Tex_GetVarValue('Tex_ImageDir', ''))
+				\ '')
 			
 		elseif exists("s:type") && s:type == 'bibliography'
 			call Tex_SetupFileCompletion(
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to