diff options
author | James McCoy <jamessan@jamessan.com> | 2017-01-09 22:31:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-09 22:31:45 -0500 |
commit | 9fcf6d577fa712d2ce420012c53a687cc9f7301d (patch) | |
tree | e76756bff3c08f33aca515ac90c76046bf11d61c /runtime/indent/vim.vim | |
parent | b260004d65ab55838cce9442a29e4f10941c5f51 (diff) | |
parent | 8f32c04df4a181a2773da3d5e0fcd36ff84a25d8 (diff) | |
download | rneovim-9fcf6d577fa712d2ce420012c53a687cc9f7301d.tar.gz rneovim-9fcf6d577fa712d2ce420012c53a687cc9f7301d.tar.bz2 rneovim-9fcf6d577fa712d2ce420012c53a687cc9f7301d.zip |
Merge pull request #5862 from jamessan/vim-aa3b15d
vim-patch:aa3b15d,82af871,7.4.1925,c95a302
Diffstat (limited to 'runtime/indent/vim.vim')
-rw-r--r-- | runtime/indent/vim.vim | 4 |
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. |