On 2009-09-01, Gary Johnson <garyj...@spocom.com> wrote:
> The solution is to remove the call to fnameescape() from line 28.
> A patch is attached. I hope it's in the right format this time.
> I didn't check to see if there were other places where fnameescape()
> was applied too often.
... or not often enough. Removing it from line 28 caused a problem
when 'dict' was set. New patch attached.
Regards,
Gary
--- vimfiles/ftplugin/latex-suite/main.vim.orig 2009-08-31 23:12:10.140625000
-0700
+++ vimfiles/ftplugin/latex-suite/main.vim 2009-09-01 02:19:16.609375000
-0700
@@ -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
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel