diff options
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 9c517e03..4b01a241 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -2132,7 +2132,7 @@ if !has_key(s:disabled_packages, 'autoindent') if line[0] == "\t" setlocal noexpandtab - let &shiftwidth=&tabstop + let &l:shiftwidth=&tabstop let b:sleuth_culprit .= ':' . i return 1 elseif line[0] == " " @@ -2145,7 +2145,7 @@ if !has_key(s:disabled_packages, 'autoindent') if minindent < 10 setlocal expandtab - let &shiftwidth=minindent + let &l:shiftwidth=minindent let b:sleuth_culprit .= ':' . i return 1 endif |