From f0e3c9e1b780aabc96d57708cd9e4cbb477c2a51 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 29 Jul 2017 15:04:36 +0200 Subject: [PATCH] Do not set expandtab, (soft)tabstop, shiftwidth 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 8a479f4..459e4f1 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