Use shiftwidth()

This commit is contained in:
tmsanrinsha
2017-02-12 19:09:08 +09:00
parent db82832526
commit 9749509840
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ function! SnippetsIndent() abort "{{{
if prev_line =~ '^\s*$'
return 0
elseif prev_line =~ '^' . syntax && line !~ '^\s*' . syntax
return &shiftwidth
return shiftwidth()
else
return match(line, '\S')
endif