File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed
Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,14 @@ Nvim source is required to run src/gen/gen_vimdoc.lua
2020Please:
2121 mkdir -p src
2222 curl -L 'https://github.com/neovim/neovim/archive/refs/tags/stable.tar.gz' | tar zx --directory src
23- NVIM_SRC=src/neovim-stable ${0}
23+ export NVIM_SRC=src/neovim-stable
2424EOM
2525exit 1
2626fi
2727
28+ # unset to ensure no collisions with system installs etc.
29+ unset VIMRUNTIME
30+
2831# runtime/doc is hardcoded, copy the help in
2932mkdir -pv runtime/doc
3033cp -v " doc/nvim-tree-lua.txt" runtime/doc
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
3- # Wrapper around nvim help linter lintdoc.lua, run as part of nvim 's make lintdoc target.
3+ # Wrapper around Nvim help linter lintdoc.lua, run as part of Nvim 's make lintdoc target.
44#
5- # Requires nvim to have been built.
5+ # Requires Nvim to have been built.
66#
77# Desired:
88# - tags valid
@@ -24,19 +24,19 @@ Compiled Nvim source is required to run src/gen/gen_vimdoc.lua
2424Please:
2525 mkdir -p src
2626 curl -L 'https://github.com/neovim/neovim/archive/refs/tags/stable.tar.gz' | tar zx --directory src
27- NVIM_SRC=src/neovim-stable ${0}
27+ export NVIM_SRC=src/neovim-stable
2828EOM
2929exit 1
3030fi
3131
32- # runtime/doc in the nvim source is practically hardcoded, copy our help in
32+ # unset to ensure no collisions with system installs etc.
33+ unset VIMRUNTIME
34+
35+ # runtime/doc in the Nvim source is practically hardcoded, copy our help in
3336cp -v " doc/nvim-tree-lua.txt" " ${NVIM_SRC} /runtime/doc"
3437
35- # run from within nvim source
38+ # run from within Nvim source
3639cd " ${NVIM_SRC} "
3740
38- # make nvim
39- make
40-
41- # execute the lint
42- VIMRUNTIME=runtime scripts/lintdoc.lua
41+ # make nvim and execute the lint
42+ make lintdoc
You can’t perform that action at this time.
0 commit comments