diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-17 18:14:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-17 18:14:19 +0200 |
commit | ad3b366c8250a6f3c7ac699bc4b0f2e613286089 (patch) | |
tree | 23a07a413110c9587852eb5ec0e29119d3debc62 /runtime/indent/tex.vim | |
parent | d620aa9be4d574627c020dedd39313f8482ab216 (diff) | |
download | vim-git-ad3b366c8250a6f3c7ac699bc4b0f2e613286089.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/indent/tex.vim')
-rw-r--r-- | runtime/indent/tex.vim | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/runtime/indent/tex.vim b/runtime/indent/tex.vim index 8e2a5daa8..7e3a35108 100644 --- a/runtime/indent/tex.vim +++ b/runtime/indent/tex.vim @@ -1,6 +1,6 @@ " Vim indent file " Language: LaTeX -" Maintainer: Zhou YiChao <broken.zhou AT gmail.com> +" Maintainer: YiChao Zhou <broken.zhou AT gmail.com> " Created: Sat, 16 Feb 2002 16:50:19 +0100 " Last Change: 2012 Mar 18 19:19:50 " Version: 0.7 @@ -46,6 +46,9 @@ " (*) Modify indentkeys. " 2012/03/18 by Zhou Yichao <broken.zhou AT gmail.com> " (*) Add &cpo +" 2013/05/02 by Zhou Yichao <broken.zhou AT gmail.com> +" (*) Fix problem about GetTeXIndent checker. Thank Albert Netymk +" for reporting this. " }}} " Document: {{{ @@ -106,10 +109,6 @@ " }}} " Only define the function once -if exists("*GetTeXIndent") - finish -endif - if exists("b:did_indent") finish endif @@ -158,7 +157,7 @@ exec 'setlocal indentkeys+=[,(,{,),},],\&' . substitute(g:tex_items, '^\|\(\\|\) let g:tex_items = '^\s*' . substitute(g:tex_items, '^\(\^\\s\*\)*', '', '') " }}} -function GetTeXIndent() " {{{ +function! GetTeXIndent() " {{{ " Find a non-blank line above the current line. let lnum = prevnonblank(v:lnum - 1) |