Re: standard way include plugin as a dependency of another plugin

2017-08-01 Thread Luc Hermitte
I've made a small (pathname) error in my answer, see the correction below. - Mail original - > De: "Luc Hermitte" > À: "vim use" > Envoyé: Mardi 1 Août 2017 13:33:17 > Objet: Re: standard way include plugin as a dependency of another plugin >

Re: map in diffexpr

2017-08-01 Thread Christian Brabandt
On Di, 01 Aug 2017, Ben Fritz wrote: > On Sunday, July 23, 2017 at 11:57:24 PM UTC-5, akria wrote: > > Hi, > > I use my diffexpr to do diff, and map different hotkey in different window. > > In vim74, it could work correctly. > > But in vim80, my diffexpr will fail to move to other windows, so

Re: map in diffexpr

2017-08-01 Thread Ben Fritz
On Sunday, July 23, 2017 at 11:57:24 PM UTC-5, akria wrote: > Hi, > I use my diffexpr to do diff, and map different hotkey in different window. > In vim74, it could work correctly. > But in vim80, my diffexpr will fail to move to other windows, so the > following map fail too. > > How should I

Re: Which file control the action of indent?

2017-08-01 Thread Ben Fritz
On Saturday, July 22, 2017 at 8:54:36 PM UTC-5, Shawn H Corey wrote: > On Sat, 22 Jul 2017 18:09:32 -0700 (PDT) > Length Power wrote: > > > Which file will be changed when to customize indent action? > > Add a file `~/.vim/after/ftplugin/python.vim` and make your changes >

Re: standard way include plugin as a dependency of another plugin

2017-08-01 Thread Luc Hermitte
Hi, (Sorry, it seems I've deleted the original message, and I'm not answering to the mail I should be answering to). > On 30/07/2017 04:40, sash...@gmail.com wrote: > > I'm writing a plugin and want it to depend on another plugin > > installed. At the moment I just have a line > > > > source

Re: standard way include plugin as a dependency of another plugin

2017-08-01 Thread lith
> I'm writing a plugin and want it to depend on another plugin installed. At > the moment I just have a line > > source I sometimes use something like this: if !exists('g:loaded_DEPENDENCY') || g:loaded_DEPENDENCY < 100 runtime plugin/DEPENDENCY.vim if