ports/editors/neovim/files/patch-CMakeLists.txt
Adam Weinberger 6c3f8661ce editors/neovim: Update to 0.5
While here, generate the runtime data files automatically. Enumerating
them stopped being fun.

There are major new features in this release, the most notable being the
inclusion of native support for LSP (Language Server Protocol) and a
native parser/AST generator. These can be used to do intelligent code
analysis and completion, without requiring external scripting providers.

Also, the Neovim config file(s) can now be written entirely in lua
instead of (or in addition to) Vimscript.
2021-07-02 13:45:28 -04:00

14 lines
434 B
Text

--- CMakeLists.txt.orig 2021-07-02 16:36:49 UTC
+++ CMakeLists.txt
@@ -517,9 +517,9 @@ endforeach()
# Find Lua interpreter
include(LuaHelpers)
-set(LUA_DEPENDENCIES lpeg mpack bit)
+set(LUA_DEPENDENCIES lpeg bit)
if(NOT LUA_PRG)
- foreach(CURRENT_LUA_PRG luajit lua5.1 lua5.2 lua)
+ foreach(CURRENT_LUA_PRG luajit)
unset(_CHECK_LUA_PRG CACHE)
unset(LUA_PRG_WORKS)
find_program(_CHECK_LUA_PRG ${CURRENT_LUA_PRG})