aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/generators/gen_declarations.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-04-20 13:19:38 +0200
committerbfredl <bjorn.linse@gmail.com>2023-04-27 11:40:00 +0200
commit45bcf8386918bbb475fbe20c48b508aa89ed0624 (patch)
tree772416435a44717c8e42b3d4f59dd85f6ed47bfa /src/nvim/generators/gen_declarations.lua
parent9f0762f1fec2aa23df592dda70124e3cbdb703b7 (diff)
downloadrneovim-45bcf8386918bbb475fbe20c48b508aa89ed0624.tar.gz
rneovim-45bcf8386918bbb475fbe20c48b508aa89ed0624.tar.bz2
rneovim-45bcf8386918bbb475fbe20c48b508aa89ed0624.zip
refactor(build): include lpeg as a library
Diffstat (limited to 'src/nvim/generators/gen_declarations.lua')
-rw-r--r--[-rwxr-xr-x]src/nvim/generators/gen_declarations.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/generators/gen_declarations.lua b/src/nvim/generators/gen_declarations.lua
index 4097ff7dc5..7ed0624b05 100755..100644
--- a/src/nvim/generators/gen_declarations.lua
+++ b/src/nvim/generators/gen_declarations.lua
@@ -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