On Friday, October 16, 2015 at 11:17:19 PM UTC+8, Gary Johnson wrote: > On 2015-10-15, Peng Dai wrote: > > thanks for all guys. > > > > I figure out it by the following method. > > > > add a before and before/plugin dir which will put the before-script files > > in my plugin dir . > > and add a autoload and autoload/set_order.vim in my plugin dir. > > and add a following function > > function! set_order#set_order() > > let l:rpt = &runtimepath > > let &runtimepath = "myplugin-path/before," . l:rpt > > endfunction > > > > and modify my vimrc with > > > > set runtimepath+=myplugin-path > > call set_order#set_order() > > > > and it seems works now. Even thought not clear whether would cause other > > progblem. > > You can use ^+ to prepend a value to a string option: > > set runtimepath^=myplugin-path/before > > See > > :help :set^= > > Regards, > Gary
thanks, the code looks better now. -- -- 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.
