diff options
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 e35d00eb0..f9a274eab 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 |