From e0562c8f61eb871f99192b66fbdccd5fbe60dcd2 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 29 Jul 2017 15:10:07 +0200 Subject: [PATCH 1/1] 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. --- indent/python.vim | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.39.5