On Friday 16 October 2009, Jasper wrote:
> I recently switched to a new computer using Vista, on which
> I installed Vim 7.2. I brought over my vim files, but now
> I'm finding that expandtab inadvertently gets reset from
> time to time. I'm writing Python code, so this is quite
> annoying...
>
> In my _vimrc I have (amongst other things):
> set expandtab
>
> and later:
> autocmd FileType python set sw=4 ts=4 expandtab
>
>
> This seems like it aught to be more than enough, and it
> worked for the version 6-ish Vim I had installed on my
> Windows XP box...
>
> I'm at a loss for what's reseting expandtab. Has anyone
> seen anything like this, or have any ideas?
probably your best bet will be to wait til it gets unset to
the undesired setting, then execute
:verbose set expandtab?
and it will tell you where it was last set -- probably some
plugin or other
sc
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---