开发者

Error with DoMatchParen in vim

When trying to set DoMatchParen I get the following error: E492: Not an editor command: DoMatchPa开发者_JAVA技巧ren. I thought that pi_paren is a standard plugin. What could be the problem? Thanks.


I too get that error when I do :DoMatchParen, but this is because I switched off this feature in my .vimrc with the following line:

:let loaded_matchparen = 1

Could it be that either your personal .vimrc or a system-wide configuration has this option switched off? You may wish to try putting:

:let loaded_matchparen = 0

in your .vimrc file to see whether that allows the feature to load properly. You can find (or create) your .vimrc file in the following places:

    Recommended place for your personal initializations:
            Unix                $HOME/.vimrc
            OS/2                $HOME/.vimrc or $VIM/.vimrc (or _vimrc)
            MS-DOS and Win32    $HOME/_vimrc or $VIM/_vimrc
            Amiga               s:.vimrc or $VIM/.vimrc

(info taken from vim's :help vimrc command output).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜