Skip to content

Commit e0562c8

Browse files
authored
Do not set expandtab, (soft)tabstop, shiftwidth (#83)
It is not the job of an indent plugin to set those. Closes #70. Closes #80.
1 parent 222fbda commit e0562c8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

indent/python.vim

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,10 @@ if exists("b:did_indent")
2525
endif
2626
let b:did_indent = 1
2727

28-
setlocal expandtab
2928
setlocal nolisp
3029
setlocal autoindent
3130
setlocal indentexpr=GetPythonPEPIndent(v:lnum)
3231
setlocal indentkeys=!^F,o,O,<:>,0),0],0},=elif,=except
33-
setlocal tabstop=4
34-
setlocal softtabstop=4
35-
setlocal shiftwidth=4
3632

3733
if !exists('g:python_pep8_indent_multiline_string')
3834
let g:python_pep8_indent_multiline_string = 0

0 commit comments

Comments
 (0)