diff options
| author | bfredl <bjorn.linse@gmail.com> | 2023-04-27 12:06:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-27 12:06:44 +0200 |
| commit | 0ff58d1bb944c9b43394ac7c83d8785c9bab6722 (patch) | |
| tree | a6d05e3d36c00b6162775049442a60fc1ef6b9f8 /src/nvim/generators/gen_declarations.lua | |
| parent | d321deb4a9b05e9d81b79ac166274f4a6e7981bf (diff) | |
| parent | 45bcf8386918bbb475fbe20c48b508aa89ed0624 (diff) | |
| download | rneovim-0ff58d1bb944c9b43394ac7c83d8785c9bab6722.tar.gz rneovim-0ff58d1bb944c9b43394ac7c83d8785c9bab6722.tar.bz2 rneovim-0ff58d1bb944c9b43394ac7c83d8785c9bab6722.zip | |
Merge pull request #23216 from bfredl/lpeg
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.lua | 5 |
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 |