2

I am on macOS. My ultimate goal is to speed up dbext.vim and I found the page mentioned DBI which depends on has('perl').

So I'd like to know how to build Neovim to have Perl enabled... Now I am using a neovim which was installed by brew install neovim but it seems I have to build from sources to enable Perl.

I am also interested in the way how Deoplete made my nvim has('python3') from 0 to 1 and didn't require a rebuild.

Last but not least.. How do other plugins achieve Async operations? I may see if it is possible to make dbext.vim run async so I will be less mindful of its speed...

Thanks in advance!

  • Welcome to the site! In the future, please only ask about one issue at a time. If you have multiple issues, open them as individual questions instead of including them all in one question. – Rich Nov 9 '17 at 11:18
2

Neovim is always compiled with all the features, so rebuilding won't help you: Perl support simply isn't included in Neovim. See (:help feature-compile, :help nvim-features-missing).

Not all features require a re-compile to be enabled (see :help feature-list). has('python3') returns whether the Python 3 API is currently available, not whether it was compiled in. (Which it was: see above.)

Asynchronous operations are performed using "jobs". See :help job-control.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.