diff options
Diffstat (limited to 'runtime/lua/vim/snippet.lua')
-rw-r--r-- | runtime/lua/vim/snippet.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/lua/vim/snippet.lua b/runtime/lua/vim/snippet.lua index a1e3360b2d..37416c389f 100644 --- a/runtime/lua/vim/snippet.lua +++ b/runtime/lua/vim/snippet.lua @@ -459,8 +459,7 @@ function M.expand(input) end -- Add the base indentation. if i > 1 then - line = #line ~= 0 and base_indent .. line - or (expandtab and (' '):rep(shiftwidth) or '\t'):rep(vim.fn.indent('.') / shiftwidth + 1) + line = base_indent .. line end lines[#lines + 1] = line end |