refactor(build): include lpeg as a library

This commit is contained in:
bfredl
2023-04-20 13:19:38 +02:00
parent 9f0762f1fe
commit 45bcf83869
19 changed files with 376 additions and 52 deletions

5
src/nvim/generators/gen_declarations.lua Executable file → Normal file
View File

@@ -1,12 +1,9 @@
#!/usr/bin/lua
local fname = arg[1]
local static_fname = arg[2]
local non_static_fname = arg[3]
local preproc_fname = arg[4]
local lpeg = require('lpeg')
local lpeg = vim.lpeg
local fold = function (func, ...)
local result = nil