On Wed, Jul 11, 2018 at 1:31 AM, tlathm <[email protected]> wrote:
> I'll try that test with --clean however first I need to clear up some
> unspeakable confusion: If I use vim --clean it appears that the paren
> matching is totally disabled. I've read countless conflicting things as to
> how to enable that. I'm trying ":let loaded_matchparen = 1", ":set
> showmatch" and every other imaginable thing I've read and can't get it to
> even work on things it was working on.
>
> To be honest, without the --clean I have no idea what's enabling it in the
> first place...certainly nothing in my .vimrc that I'm aware of. Totally lost
> at this point. What am I missing?

IIUC, --clean sources only the default.vim script but not your vimrc
and no plugins, not even the standard matchparen.vim plugin.

OTOH, setting loaded_matchparen _disables_ further loading of that
plugin. (It makes the plugin believe that it is already loaded.)

To have the defaults.vim plus paren matching but nothing else, use

    vim --clean -c 'runtime plugin/matchparen.vim'


Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui