[Vim-latex-cvs] SF.net SVN: vim-latex: [1014] trunk/vimfiles/ftplugin/latex-suite
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2006-05-01 04:32:18
|
Revision: 1014 Author: srinathava Date: 2006-04-30 21:32:11 -0700 (Sun, 30 Apr 2006) ViewCVS: http://svn.sourceforge.net/vim-latex/?rev=1014&view=rev Log Message: ----------- Bug: There is a complaint on mac when the view rule is not specified, although it should be allowed on the mac to not have any view rule specified. (Chen Long) Fix: Specifically check for has('macunix') when the view rule has to be set and relax in this case. Modified Paths: -------------- trunk/vimfiles/ftplugin/latex-suite/compiler.vim trunk/vimfiles/ftplugin/latex-suite/version.vim Modified: trunk/vimfiles/ftplugin/latex-suite/compiler.vim =================================================================== --- trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2006-04-29 02:36:23 UTC (rev 1013) +++ trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2006-05-01 04:32:11 UTC (rev 1014) @@ -34,6 +34,12 @@ elseif Tex_GetVarValue('Tex_'.a:type.'RuleComplete_'.target) != '' let s:target = target + elseif a:type == 'View' && has('macunix') + " On the mac, we can have empty view rules, so do not complain when + " both Tex_ViewRule_target and Tex_ViewRuleComplete_target are + " empty. On other platforms, we will complain... see below. + let s:target = target + else let curd = getcwd() exe 'cd '.expand('%:p:h') Modified: trunk/vimfiles/ftplugin/latex-suite/version.vim =================================================================== --- trunk/vimfiles/ftplugin/latex-suite/version.vim 2006-04-29 02:36:23 UTC (rev 1013) +++ trunk/vimfiles/ftplugin/latex-suite/version.vim 2006-05-01 04:32:11 UTC (rev 1014) @@ -24,7 +24,7 @@ " "stabilize" that version by releasing a few pre-releases and then " keep that as a stable point. function! Tex_Version() - return "Latex-Suite: version 1.8.21" + return "Latex-Suite: version 1.8.22" endfunction com! -nargs=0 TVersion echo Tex_Version() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |