spf13 / spf13-vim

The ultimate vim distribution
http://vim.spf13.com
Apache License 2.0
15.56k stars 3.64k forks source link

Feature request: suggest best way to get Vim +lua #783

Open kylecordes opened 9 years ago

kylecordes commented 9 years ago

I recently updated with a git pull, on branch 3.0, to commit 91d3d8edc6c13113cda3fe1d8a2945fd453d5749. These details are not important, I'm not looking for support, but rather making a feature request. When I run, I get the following warning:

neocomplete does not work with this version of Vim.
It requires Vim 7.3.885 or later with Lua support ("+lua").

I will assume without any research that neocomplete is amazing, and totally worth the effort of getting a Vim with Lua running. I looked briefly at how to get such a thing, and did not see a single obvious recommended way.

So here's my feature request: concurrent with this new need for Vim +lua, please update the website installation instructions to point out the most idiomatic, convenient, upgradable way to obtain a suitable Vim on the most common operating systems and distributions. For example, if I happen to be on a recent Ubuntu, what would I do to get this to them in such a way that I can continue to update via the package system etc.? I'm not looking for the answer here, just hoping it ends up on the website eventually.

By the way, I'm a big fan of Lua; I gave a talk about it strange loop a few years ago, video and slides below if anyone is interested.

http://kylecordes.com/2010/lua-strange-loop

bronzehedwick commented 9 years ago

This doesn't directly address your issue, but Neovim has +lua built in by default, and if #777 gets merged in, most of spf-13 should work with Neovim.

junjiemars commented 9 years ago

@bronzehedwick I had the same problem with @kylecordes , How to get Neovim in?

bronzehedwick commented 9 years ago

@junjiemars - If you want to try Neovim out, follow the install instructions on the project page, then checkout #777, or just symlink .vimrc to .nvimrc as a quick way of enabling spf13.

ghost commented 9 years ago

We really shouldn't enable neocomplete if we don't detect that our vim has +lua

lu19961121 commented 6 years ago

You can recompile vim with lua, here is a Tutorial on Ubuntu 18.04 ! You need install :

1. ncurses

2. lua

3. vim (remove old vim !)