On Friday 05 December 2003 05:53, Josh Helmer wrote: > On Thursday 04 December 2003 05:30 pm, Jan Drugowitsch wrote: > > On Thursday 04 December 2003 22:07, Jan Drugowitsch wrote: > > > Somehow, vim doesn't case about the set tabespace in the ~/.vimrc file. > > > Although I've a clear 'set ts=4' in there, it always starts of with a > > > tabspace size of 8. Only after setting it to 4 with ':set ts=4' it > > > works. The spacewidth is set to 4 and works immediately. > > What language are you editing? I had the same problem with python files a > while back. I could never figure out why, but every .py file I would open > would use an 8 space tab. Everything else would use 4... I always assumed > that it was something in the syntax file, but I don't use python enough to > spend too much time figuring it out. Maybe one of your syntax files is > overriding your settings?
I'm mainly using it for editing C++ and Python, and you're right: it only happens with Python (haven't noticed that before). I will have a look at the syntax files then. Thanks for the tip! Jan -- [EMAIL PROTECTED] mailing list