From: Daniel Hahler Date: Sat, 29 Jul 2017 13:10:07 +0000 (+0200) Subject: Do not set expandtab, (soft)tabstop, shiftwidth (#83) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/e0562c8f61eb871f99192b66fbdccd5fbe60dcd2?ds=sidebyside;hp=222fbda19d59ba0124aedade5a3ee4a10fb90a93 Do not set expandtab, (soft)tabstop, shiftwidth (#83) It is not the job of an indent plugin to set those. Closes https://github.com/Vimjas/vim-python-pep8-indent/pull/70. Closes https://github.com/Vimjas/vim-python-pep8-indent/pull/80. --- diff --git a/indent/python.vim b/indent/python.vim index b3a5141..939968e 100644 --- a/indent/python.vim +++ b/indent/python.vim @@ -25,14 +25,10 @@ if exists("b:did_indent") endif let b:did_indent = 1 -setlocal expandtab setlocal nolisp setlocal autoindent setlocal indentexpr=GetPythonPEPIndent(v:lnum) setlocal indentkeys=!^F,o,O,<:>,0),0],0},=elif,=except -setlocal tabstop=4 -setlocal softtabstop=4 -setlocal shiftwidth=4 if !exists('g:python_pep8_indent_multiline_string') let g:python_pep8_indent_multiline_string = 0