diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-26 21:06:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-26 21:06:50 +0000 |
commit | 899dddf88804af20d560b5277f1ca1bc4dd8e2b3 (patch) | |
tree | 17525001ae02c1e762f4dd6b383612bd16f7238d /runtime/indent/config.vim | |
parent | 5c6a2d53232f248c0ba0e4278a447042aa00371e (diff) |
updated for version 7.0b02v7.0b02
Diffstat (limited to 'runtime/indent/config.vim')
-rw-r--r-- | runtime/indent/config.vim | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/runtime/indent/config.vim b/runtime/indent/config.vim index cb2023d7dc..c6c54b25f7 100644 --- a/runtime/indent/config.vim +++ b/runtime/indent/config.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: Autoconf configure.{ac,in} file " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> -" Latest Revision: 2005-06-30 +" Latest Revision: 2006-02-11 " TODO: how about nested [()]'s in one line " what's wrong with '\\\@!'? @@ -63,7 +63,7 @@ function GetConfigIndent() " if previous line had an unmatched closing parantheses, " indent to the matching opening parantheses - if line =~ '[^(]*\\\@<!)$' + if line =~ '[^(]\+\\\@<!)$' call search(')', 'bW') let lnum = searchpair('\\\@<!(', '', ')', 'bWn') let ind = indent(lnum) @@ -71,7 +71,7 @@ function GetConfigIndent() " if previous line had an unmatched closing bracket, " indent to the matching opening bracket - if line =~ '[^[]*]$' + if line =~ '[^[]\+]$' call search(']', 'bW') let lnum = searchpair('\[', '', ']', 'bWn') let ind = indent(lnum) @@ -79,5 +79,3 @@ function GetConfigIndent() return ind endfunction - -" vim: set sts=2 sw=2: |