summaryrefslogtreecommitdiffstats
path: root/runtime/indent/vim.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-06-16 21:59:56 +0000
committerBram Moolenaar <Bram@vim.org>2005-06-16 21:59:56 +0000
commit520470a9d6afa273294848bc31e9ddfabe130434 (patch)
tree68eca1fa27b8113e3d4c9cbeeb4e72ec31e6dc6f /runtime/indent/vim.vim
parent6bab4d1fd761c6489e63d53d7834344cb0d3a74e (diff)
updated for version 7.0086v7.0086
Diffstat (limited to 'runtime/indent/vim.vim')
-rw-r--r--runtime/indent/vim.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/indent/vim.vim b/runtime/indent/vim.vim
index c96298de39..5f66571bc2 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