carlhuda / janus

Vim distribution
7.88k stars 814 forks source link

load matchit from vim? #694

Open benatkin opened 7 years ago

benatkin commented 7 years ago

The matchit plugin, which used to be included with janus, was removed from github (#673), but there's one built into vim. It can be loaded with source $VIMRUNTIME/macros/matchit.vim which just runs packadd matchit on vim 8. How about loading it from vim, if it exists? I'm not sure how widely available it is.

kalbasit commented 7 years ago

@benatkin feel free to file a PR and I'll take a look

montalvomiguelo commented 7 years ago

matchit ships with vim but it is not enabled by default

Add this to your .vimrc.after

runtime macros/matchit.​vim​
benatkin commented 7 years ago

@montalvomiguelo it was the default before #673 and ought to be made the default again. Turning it off wasn't a design decision – it was because the matchit.vim repo got deleted.