[Vim-latex-cvs] vimfiles/indent tex.vim,1.1.1.1,1.2
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-06-30 01:33:38
|
Update of /cvsroot/vim-latex/vimfiles/indent In directory sc8-pr-cvs1:/tmp/cvs-serv1603 Modified Files: tex.vim Log Message: do not change indentation of commented lines Index: tex.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/indent/tex.vim,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** tex.vim 30 Apr 2002 00:03:25 -0000 1.1.1.1 --- tex.vim 30 Jun 2003 01:33:34 -0000 1.2 *************** *** 80,83 **** --- 80,87 ---- let cline = getline(v:lnum) " current line + " Do not change indentation of commented lines. + if line =~ '^\s*%' + return ind + endif " Add a 'shiftwidth' after beginning of environments. |