diff options
author | Florian Walch <florian@fwalch.com> | 2015-05-18 18:45:20 +0300 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-05-19 12:31:44 -0400 |
commit | e211362a6daec463902f5f4f1bd124c106b3350e (patch) | |
tree | 1b83c7fbce4fc76736b603cef58eb334810d119c /runtime/indent/lua.vim | |
parent | 5bbd182a3e02cf078e4bede693199c94943f4848 (diff) | |
download | rneovim-e211362a6daec463902f5f4f1bd124c106b3350e.tar.gz rneovim-e211362a6daec463902f5f4f1bd124c106b3350e.tar.bz2 rneovim-e211362a6daec463902f5f4f1bd124c106b3350e.zip |
vim-patch:c5d53d4 #2695
Update runtime files.
https://code.google.com/p/vim/source/detail?r=c5d53d4c3e2e24e23fc4272bf91be3c031ccb598
Diffstat (limited to 'runtime/indent/lua.vim')
-rw-r--r-- | runtime/indent/lua.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/lua.vim b/runtime/indent/lua.vim index 21b02f1549..5f049d4585 100644 --- a/runtime/indent/lua.vim +++ b/runtime/indent/lua.vim @@ -2,7 +2,7 @@ " Language: Lua script " Maintainer: Marcus Aurelius Farias <marcus.cf 'at' bol.com.br> " First Author: Max Ischenko <mfi 'at' ukr.net> -" Last Change: 2007 Jul 23 +" Last Change: 2014 Nov 12 " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -54,7 +54,7 @@ function! GetLuaIndent() " Subtract a 'shiftwidth' on end, else (and elseif), until and '}' " This is the part that requires 'indentkeys'. - let midx = match(getline(v:lnum), '^\s*\%(end\|else\|until\|}\)') + let midx = match(getline(v:lnum), '^\s*\%(end\>\|else\>\|until\>\|}\)') if midx != -1 && synIDattr(synID(v:lnum, midx + 1, 1), "name") != "luaComment" let ind = ind - &shiftwidth endif |