Friday, December 8, 2017

Re: organize dll

Le vendredi 8 décembre 2017 16:04:57 UTC+1, Ken Takata a écrit :
> Hi,
>
> 2017/12/8 Fri 20:06:32 UTC+9 Ni Va wrote:
> > Le vendredi 8 décembre 2017 11:27:40 UTC+1, Ken Takata a écrit :
> > > Hi,
> > >
> > > 2017/12/8 Fri 18:46:16 UTC+9 Ni Va wrote:
> > > > Hi,
> > > >
> > > >
> > > > Instead of deploy external dll in $vimruntime, is it possible to organize them in their own directories?
> > > >
> > > > In _vimrc
> > > > " ext dlls
> > > > exe 'set luadll='.$vimruntime.'/extDlls/lua/lua53.dll'
> > > > exe 'set rubydll='.$vimruntime.'/extDlls/ruby/x64-msvcrt-ruby240.dll'
> > > >
> > > >
> > > > It seems to not working after test.
> > >
> > > If a DLL doesn't require another DLL, it might be possible.
> > > However x64-msvcrt-ruby240.dll requires another DLLs. In that case, the DLLs
> > > should be placed in a directory in $PATH.
> > >
> > > Regards,
> > > Ken Takata
> >
> > Under Windows %PATH% or can I overload system path by runtimepath or path var under vim ?
>
> You can change it from Vim. E.g.:
>
> let $PATH .= ';c:\somewhere'
>
> Regards,
> Ken Takata

Works perfectly
let $path.=';'.tr(fnamemodify($vimruntime.'/extDlls/ruby',':p:h'),'\','/')
:ruby print("yeah")
yeah!

Thank you Ken

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: