summaryrefslogtreecommitdiff
path: root/runtime/indent/eterm.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-16 17:41:02 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-16 17:41:02 +0100
commit036986f1507d223549d110af300144468bd3a1f7 (patch)
tree4ceb878909e769f23d6deeae3bbb03d16e974f0d /runtime/indent/eterm.vim
parent8820b48654b62472821d9b155fe03ab7ac13a05c (diff)
downloadvim-036986f1507d223549d110af300144468bd3a1f7.zip
Update runtime files.
Diffstat (limited to 'runtime/indent/eterm.vim')
-rw-r--r--runtime/indent/eterm.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/eterm.vim b/runtime/indent/eterm.vim
index e5fea1d3b..8ee342fcf 100644
--- a/runtime/indent/eterm.vim
+++ b/runtime/indent/eterm.vim
@@ -25,11 +25,11 @@ function GetEtermIndent()
let ind = indent(lnum)
if getline(lnum) =~ '^\s*begin\>'
- let ind = ind + &sw
+ let ind = ind + shiftwidth()
endif
if getline(v:lnum) =~ '^\s*end\>'
- let ind = ind - &sw
+ let ind = ind - shiftwidth()
endif
return ind