Friday, March 23, 2012

Re: random :set noet

On 03/23/2012 11:27 PM, Tim Chase wrote:
> On 03/23/12 20:45, AK wrote:
>> I have :set expandtab in my .vimrc but sometimes 'noet' gets set in
>> other files, for example in .html files. I searched all of my plugins
>> and I don't see any obvious offenders.
>>
>> I also tried doing :verbose set et? , but that doesn't tell me where it
>> was set from, I'm not sure why?
>
> I can't tell you why ":verbose set et?" doesn't tell you where (that
> sounds suspiciously like a bug), but a note at ":help 'noet'" says that
> setting 'cp' can impact things, so I'd scavenge through your startup
> files, plugins, and syntax files to see if anything toggles 'cp'.
>
> -tim


Checked for 'cp', it's not being set anywhere..

I should add that this happens very rarely, I edit many files every day
but this happens maybe once in 1-2 months at most. It also never happens
with python files, even though that's what I mostly edit, it definitely
happens to .html and I think also to .vim files. I do edit html and
vim files very often, too, a few times a day on average. I can't spot
any kind of pattern of when or to what file it happens..

-ak

--
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

No comments: