diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-06-16 21:59:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-06-16 21:59:56 +0000 |
commit | 520470a9d6afa273294848bc31e9ddfabe130434 (patch) | |
tree | 68eca1fa27b8113e3d4c9cbeeb4e72ec31e6dc6f /runtime/indent/vim.vim | |
parent | 6bab4d1fd761c6489e63d53d7834344cb0d3a74e (diff) | |
download | vim-520470a9d6afa273294848bc31e9ddfabe130434.zip |
updated for version 7.0086
Diffstat (limited to 'runtime/indent/vim.vim')
-rw-r--r-- | runtime/indent/vim.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/indent/vim.vim b/runtime/indent/vim.vim index c96298de3..5f66571bc 100644 --- a/runtime/indent/vim.vim +++ b/runtime/indent/vim.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: Vim script " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2005 Feb 25 +" Last Change: 2005 Jun 16 " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -51,8 +51,8 @@ function GetVimIndent() endif " If the previous line contains an "end" after a pipe, but not in an ":au" - " command. - if getline(lnum) =~ '|\s*\(ene\@!\)' && getline(lnum) !~ '^\s*au\%[tocmd]' + " command. And not when there is a backslash before the pipe. + if getline(lnum) =~ '[^\\]|\s*\(ene\@!\)' && getline(lnum) !~ '^\s*au\%[tocmd]' let ind = ind - &sw endif |