We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e84f54 commit d06bccbCopy full SHA for d06bccb
1 file changed
scripts/vimdoc.sh
@@ -58,6 +58,7 @@ cleanup() {
58
59
# remove our config
60
rm -fv "${DIR_NVIM_SRC}/src/gen/vimdoc_config.lua"
61
+ rm -fv "${DIR_NVIM_SRC}/runtime/lua/placeholder.lua"
62
63
# remove generated help
64
rm -fv "${DIR_NVIM_SRC}/runtime/doc/nvim-tree-lua.txt"
@@ -85,6 +86,9 @@ if [ "${1}" = "doc" ]; then
85
86
cp "${DIR_NVIM_SRC}/src/gen/gen_vimdoc.lua" "${DIR_NVIM_SRC}/src/gen/gen_vimdoc.lua.org"
87
sed -i -E 's/spairs\(config\)/spairs\(require("gen.vimdoc_config")\)/g' "${DIR_NVIM_SRC}/src/gen/gen_vimdoc.lua"
88
89
+ # leave a generic placeholder to bridge between nvim.gen_vimdoc.Config
90
+ echo "---@brief placeholder" > "${DIR_NVIM_SRC}/runtime/lua/placeholder.lua"
91
+
92
# copy our config
93
cp -v "scripts/vimdoc_config.lua" "${DIR_NVIM_SRC}/src/gen"
94
fi
0 commit comments