mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
refactor(build): include lpeg as a library
This commit is contained in:
5
src/nvim/generators/gen_declarations.lua
Executable file → Normal file
5
src/nvim/generators/gen_declarations.lua
Executable file → Normal 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
|
||||
|
Reference in New Issue
Block a user