vim-python/python-syntax

Tabstop is being reset

Closed this issue · 2 comments

s-c-p commented

Hi,

I set my tabstop to 4 explicitly in my ~/.vimrc and it works as expected in JS or C++ file BUT if I open python files the tabstop is 8 spaces

Why so?

P.S. See my .vimrc in my gists #

nfnty commented

Google python vim indent. First result: https://wiki.python.org/moin/Vim

@s-c-p I'm not sure if tabstop being changed to 8 is the problem but this plugin fixed the indentation of multi-line lists and dictionaries for me: https://github.com/Vimjas/vim-python-pep8-indent