diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-11-06 05:26:57 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-11-06 05:35:32 +0100 |
commit | c348f84f218434580209a2c52552ba8fbbf1864b (patch) | |
tree | 23aa73c016b3f3941917605cd1742dfe8ca7e1fd /runtime/indent/framescript.vim | |
parent | 93fb7383a330f03bf64ed5558a8e16ea4c742478 (diff) | |
download | rneovim-c348f84f218434580209a2c52552ba8fbbf1864b.tar.gz rneovim-c348f84f218434580209a2c52552ba8fbbf1864b.tar.bz2 rneovim-c348f84f218434580209a2c52552ba8fbbf1864b.zip |
vim-patch:036986f1507d
Update runtime files.
https://github.com/vim/vim/commit/036986f1507d223549d110af300144468bd3a1f7
Diffstat (limited to 'runtime/indent/framescript.vim')
-rw-r--r-- | runtime/indent/framescript.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/framescript.vim b/runtime/indent/framescript.vim index e35d00eb02..f9a274eab6 100644 --- a/runtime/indent/framescript.vim +++ b/runtime/indent/framescript.vim @@ -30,11 +30,11 @@ function GetFrameScriptIndent() let ind = indent(lnum) if getline(lnum) =~? '^\s*\%(If\|Loop\|Sub\)' - let ind = ind + &sw + let ind = ind + shiftwidth() endif if getline(v:lnum) =~? '^\s*\%(Else\|End\%(If\|Loop\|Sub\)\)' - let ind = ind - &sw + let ind = ind - shiftwidth() endif return ind |