File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ mkdir -pv runtime/doc
1212cp -v " doc/nvim-tree-lua.txt" runtime/doc
1313
1414# modify gen_vimdoc.lua to use our config
15- cp -v " ${NEOVIM_SRC} /src/gen/gen_vimdoc.lua" scripts/ gen_vimdoc.lua
16- sed -i -E ' s/spairs\(config\)/spairs\(require("gen_vimdoc_nvim-tree ")\)/g' scripts/ gen_vimdoc.lua
15+ cp -v " ${NEOVIM_SRC} /src/gen/gen_vimdoc.lua" gen_vimdoc.lua
16+ sed -i -E ' s/spairs\(config\)/spairs\(require("gen_vimdoc_config ")\)/g' gen_vimdoc.lua
1717
1818# use luacacts etc. from neovim src as well as our specific config
19- LUA_PATH=" ${NEOVIM_SRC} /src/?.lua;scripts/gen_vimdoc_config .lua; ${LUA_PATH} "
19+ export LUA_PATH=" ${NEOVIM_SRC} /src/?.lua;scripts/? .lua"
2020
2121# generate
22- scripts /gen_vimdoc.lua
22+ . /gen_vimdoc.lua
2323
24- # move the new help back out
24+ # move the generated help out
2525mv -v " runtime/doc/nvim-tree-lua.txt" doc
26- rmdir -v runtime/doc
27- rmdir -v runtime
2826
2927# clean up
30- rm -v scripts/gen_vimdoc.lua
28+ rmdir -v runtime/doc
29+ rmdir -v runtime
30+ rm -v gen_vimdoc.lua
3131
You can’t perform that action at this time.
0 commit comments