Gary Johnson wrote: > On 2016-03-25, Bram Moolenaar wrote: > > Patch 7.4.1649 > > Problem: The matchit plugin needs to be copied to be used. > > Solution: Put the matchit plugin in an optional package. > > Files: Filelist, runtime/macros/matchit.vim, > > runtime/macros/matchit.txt, > > runtime/macros/README.txt, src/Makefile, > > runtime/pack/dist/opt/matchit/plugin/matchit.vim, > > runtime/pack/dist/opt/matchit/doc/matchit.txt, > > runtime/pack/dist/opt/matchit/doc/tags, > > runtime/doc/usr_05.txt, runtime/doc/usr_toc.txt > > I never copied the matchit plugin, as that would have prevented me > from automatically picking up changes to it. Instead, I created the > file ~/.vim/plugin/matchit.vim containing this line: > > runtime macros/matchit.vim > > What is the suggested method of sourcing the matchit plugin now?
Yeah, I was wondering who would source the file from the original location. You can use ":packadd matchit". Assuming there are a lot of Vim users in this situation, I can add a macros/matchit.vim that contains the packadd command. -- ~ ~ ~ ".signature" 4 lines, 50 characters written /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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.
