Dynamic libraries loading (ruby/python/lua) : E370: Could not load library

2018-01-04 Thread Ni Va
Hi, According setting dll options to dynamic dlls' names, Vim cannot load library. I know the issue 32/64bits but regarding four following tests, no one success. :py print("hello") :py3 print("hello") :lua print("hello") :ruby print("hello") E370: Could not load library Detailed infos are in

buttype == quickfix plus WinEnter

2018-01-04 Thread Axel Bender
I would like to set the (unfortunately global) scrolloff option dynamically. To accomplish that, I use the following construct (simplified): autocmd BufEnter * call SetScrollOff() function SetScrollOff() let &scrolloff = &buftype == "quickfix" ? 3 : 5 endfunc This approach works fine for non-

Re: buttype == quickfix plus WinEnter

2018-01-04 Thread Tony Mechelynck
On Thu, Jan 4, 2018 at 12:00 PM, Axel Bender wrote: > I would like to set the (unfortunately global) scrolloff option dynamically. > To accomplish that, I use the following construct (simplified): > > autocmd BufEnter * call SetScrollOff() > > function SetScrollOff() >let &scrolloff = &buftype

Re: buttype == quickfix plus WinEnter

2018-01-04 Thread Tony Mechelynck
Oh, and another possibility would be that your autocommand runs too early, before the 'quickfix' buftype has been set. In that case you may need to create the autocommand in an autocommand for the VimEnter event, which is triggered at the very end of startup, when all global plugins have had the ti

Re: buttype == quickfix plus WinEnter

2018-01-04 Thread Axel Bender
@Tony Thanks for your reply. I already tried that first proposal of your's - to no avail... Tested the second one - with the same result... -- -- 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, v