summaryrefslogtreecommitdiffstats
path: root/indent/lua.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2018-12-26 10:41:57 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2018-12-26 10:41:57 +0100
commitd43b70d93987c94d15a352cf0026fb93d3317cc8 (patch)
tree74470b6cc30ddb4ef8ceb2ec557bc32ccccb5ebb /indent/lua.vim
parentec1c94306953b678bb36572897bd218fe6c76506 (diff)
downloadvim-polyglot-d43b70d93987c94d15a352cf0026fb93d3317cc8.tar.gz
vim-polyglot-d43b70d93987c94d15a352cf0026fb93d3317cc8.zip
Update
Diffstat (limited to 'indent/lua.vim')
-rw-r--r--indent/lua.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/indent/lua.vim b/indent/lua.vim
index 8e5e63ed..6d102d89 100644
--- a/indent/lua.vim
+++ b/indent/lua.vim
@@ -113,7 +113,7 @@ function GetLuaIndent()
" restore cursor
call setpos(".", original_cursor_pos)
- return indent(prev_line) + (&sw * i)
+ return indent(prev_line) + (shiftwidth() * i)
endfunction