vim-python / python-syntax

Python syntax highlighting for Vim
MIT License
438 stars 84 forks source link

Tabstop is being reset #35

Closed s-c-p closed 6 years ago

s-c-p commented 6 years ago

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 6 years ago

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

siikamiika commented 6 years ago

@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