On Tuesday, September 10, 2019 at 9:01:30 AM UTC+2, Tobiah wrote:
We upgraded a server to 18.04 and now when I start typing
a python file (seems to be triggered by the .py extension)
the tabs default to 4 spaces. We have decades of code that
use tab characters, and it has not been our intention to
change that.
I found a /usr/share/vim/vim80/indent/python.vim and tried
moving it out of the way, but the behavior was still there.
I know I can put a modeline in every file but I was hoping
to do it for every user and for every file.
Thanks!
To see what's going on when pressing Tab (and possibly propose a solution for your issue), it would be good to know the values of some settings. Open a python file, run the following and post the result:
:verbose set sts? ts? et? rtp?
Tom M
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6c5f533d-e81c-4961-9df9-81766a45e359%40googlegroups.com.
No comments:
Post a Comment