aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-01-01 20:48:26 -0500
committerJames McCoy <jamessan@jamessan.com>2017-01-09 20:23:41 -0500
commit60e306368d5b6261acdcd88128461259663d8418 (patch)
tree745a755449a5ac6a026454537e0d29664ba7c5c6 /runtime/indent
parentb260004d65ab55838cce9442a29e4f10941c5f51 (diff)
downloadrneovim-60e306368d5b6261acdcd88128461259663d8418.tar.gz
rneovim-60e306368d5b6261acdcd88128461259663d8418.tar.bz2
rneovim-60e306368d5b6261acdcd88128461259663d8418.zip
vim-patch:aa3b15d
Updated runtime files. https://github.com/vim/vim/commit/aa3b15dbebf333282503d6031e2f9ba6ee4398ed
Diffstat (limited to 'runtime/indent')
-rw-r--r--runtime/indent/vim.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/vim.vim b/runtime/indent/vim.vim
index 31b76b8c0c..7ec7df849e 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: 2016 Jan 24
+" Last Change: 2016 Apr 19
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
@@ -60,7 +60,7 @@ function GetVimIndentIntern()
else
let ind = ind + shiftwidth() * 3
endif
- elseif prev_text =~ '^\s*aug\%[roup]' && prev_text !~ '^\s*aug\%[roup]\s*!\=\s\+END'
+ elseif prev_text =~ '^\s*aug\%[roup]' && prev_text !~ '^\s*aug\%[roup]\s*!\=\s\+[eE][nN][dD]'
let ind = ind + shiftwidth()
else
" A line starting with :au does not increment/decrement indent.