[Vim-latex-cvs] SF.net SVN: vim-latex:[1046] trunk/vimfiles
Brought to you by:
srinathava,
tmaas
|
From: <tm...@us...> - 2009-01-20 14:13:25
|
Revision: 1046
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1046&view=rev
Author: tmaas
Date: 2009-01-20 14:13:19 +0000 (Tue, 20 Jan 2009)
Log Message:
-----------
- Added errorformat (efm) support for latex -file-line-error (which sanitizes error messages for Vim)
- Adjust vim modeline of tex.vim
Patches by Ted Pavlic
Modified Paths:
--------------
trunk/vimfiles/compiler/tex.vim
trunk/vimfiles/ftplugin/latex-suite/texrc
Modified: trunk/vimfiles/compiler/tex.vim
===================================================================
--- trunk/vimfiles/compiler/tex.vim 2008-08-07 13:58:08 UTC (rev 1045)
+++ trunk/vimfiles/compiler/tex.vim 2009-01-20 14:13:19 UTC (rev 1046)
@@ -70,7 +70,7 @@
" ==============================================================================
" Customization of 'efm': {{{
" This section contains the customization variables which the user can set.
-" g:Tex_IgnoredWarnings: This variable contains a \xA1 seperated list of
+" g:Tex_IgnoredWarnings: This variable contains a ¡ seperated list of
" patterns which will be ignored in the TeX compiler's output. Use this
" carefully, otherwise you might end up losing valuable information.
if !exists('g:Tex_IgnoredWarnings')
@@ -202,6 +202,7 @@
setlocal efm+=%E!\ LaTeX\ %trror:\ %m
setlocal efm+=%E!\ %m
+ setlocal efm+=%E%f:%l:\ %m
setlocal efm+=%+WLaTeX\ %.%#Warning:\ %.%#line\ %l%.%#
setlocal efm+=%+W%.%#\ at\ lines\ %l--%*\\d
@@ -290,4 +291,4 @@
call Tex_Debug("compiler/tex.vim: sourcing this file", "comp")
-" vim: fdm=marker:commentstring=\ \"\ %s
+" vim:fdm=marker:ff=unix:noet:ts=4:sw=4
Modified: trunk/vimfiles/ftplugin/latex-suite/texrc
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texrc 2008-08-07 13:58:08 UTC (rev 1045)
+++ trunk/vimfiles/ftplugin/latex-suite/texrc 2009-01-20 14:13:19 UTC (rev 1046)
@@ -104,7 +104,8 @@
" values, but if use some other compiler, then you will want to change this.
" As CompileFlags value you'd perhaps like to use, e.g., '-src-specials',
" but it is known that it can sometimes give different results in the output,
-" so use it with care.
+" so use it with care. The '-file-line-error' flag helps sanitize LaTeX error
+" messages for processing by Vim.
TexLet g:Tex_CompileRule_dvi = 'latex -interaction=nonstopmode $*'
TexLet g:Tex_EscapeChars = '{}\'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|