Revision: 1069
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1069&view=rev
Author: tmaas
Date: 2009-09-01 18:51:19 +0000 (Tue, 01 Sep 2009)
Log Message:
-----------
- fix double fnameescape for s:path / missing escape for dict, patch by Gary Johnson
- add fnameescape for pytools.py
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/main.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/main.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/main.vim 2009-08-16 19:47:15 UTC (rev 1068)
+++ trunk/vimfiles/ftplugin/latex-suite/main.vim 2009-09-01 18:51:19 UTC (rev 1069)
@@ -25,7 +25,7 @@
" get the place where this plugin resides for setting cpt and dict options.
" these lines need to be outside the function.
-let s:path = fnameescape(expand('<sfile>:p:h'))
+let s:path = expand('<sfile>:p:h')
" set up personal defaults.
runtime ftplugin/tex/texrc
" set up global defaults.
@@ -851,7 +851,7 @@
endif
let b:doneSetTeXOptions = 1
- exe 'setlocal dict^='.s:path.'/dictionaries/dictionary'
+ exe 'setlocal dict^='.fnameescape(s:path.'/dictionaries/dictionary')
call Tex_Debug('SetTeXOptions: sourcing maps', 'main')
" smart functions
@@ -1037,6 +1037,6 @@
finish
endif
-exec 'pyfile '.expand('<sfile>:p:h').'/pytools.py'
+exec 'pyfile '.fnameescape(expand('<sfile>:p:h')).'/pytools.py'
" vim:fdm=marker:ff=unix:noet:ts=4:sw=4:nowrap
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|