r753 -
/trunk/packages/vim/patches/filetype.vim-better_tex_vs_plaintex.diff
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Fri Aug 25 15:16:06 UTC 2006
Author: zack
Date: Fri Aug 25 15:16:05 2006
New Revision: 753
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=753
Log:
recognized some more latex specific sectioning commands
Modified:
trunk/packages/vim/patches/filetype.vim-better_tex_vs_plaintex.diff
Modified: trunk/packages/vim/patches/filetype.vim-better_tex_vs_plaintex.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/filetype.vim-better_tex_vs_plaintex.diff?rev=753&op=diff
==============================================================================
--- trunk/packages/vim/patches/filetype.vim-better_tex_vs_plaintex.diff (original)
+++ trunk/packages/vim/patches/filetype.vim-better_tex_vs_plaintex.diff Fri Aug 25 15:16:05 2006
@@ -7,7 +7,7 @@
let firstNC = search('^\s*[^[:space:]%]', 'c', 1000)
if firstNC " Check the next thousand lines for a LaTeX or ConTeXt keyword.
- let lpat = 'documentclass\>\|usepackage\>\|begin{\|newcommand\>\|renewcommand\>'
-+ let lpat = 'documentclass\>\|usepackage\>\|begin{\|newcommand\>\|renewcommand\>|part\>|chapter\>|section\>|subsection\>|subsubsection\>'
++ let lpat = 'documentclass\>\|usepackage\>\|begin{\|newcommand\>\|renewcommand\>|part\>|chapter\>|section\>|subsection\>|subsubsection\>|paragraph\>|subparagraph\>|subsubparagraph'
let cpat = 'start\a\+\|setup\a\+\|usemodule\|enablemode\|enableregime\|setvariables\|useencoding\|usesymbols\|stelle\a\+\|verwende\a\+\|stel\a\+\|gebruik\a\+\|usa\a\+\|imposta\a\+\|regle\a\+\|utilisemodule\>'
let kwline = search('^\s*\\\%(' . lpat . '\)\|^\s*\\\(' . cpat . '\)',
\ 'cnp', firstNC + 1000)
More information about the pkg-vim-maintainers
mailing list