Saturday, June 13, 2015

Re: Is there any way to override scripts that load after .vimrc?

On Friday, June 12, 2015 at 8:16:48 AM UTC-7, Joe Shockey wrote:
> My .vimrc file sets my textwidth=0, but it is being overridden by a plugin
> (/root/share/vim/vim72/ftplugin/vim.vim) that loads after my .vimrc and sets
> textwidht=72. I only have a user account on the server, so I don't have much
> control over the Vim or the plugins. Is there anything I can do in my .vimrc
> that essentially says "ignore any textwidths that load after this"?
>
set tw=2147483647

originally suggested by Tim Chase, if I recall correctly, when I asked this same thing a while back. It works perfectly, because the plugin concerned checks for and only changes tw=0

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: