aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-07-27 00:17:11 +0200
committerGitHub <noreply@github.com>2022-07-27 00:17:11 +0200
commit49d2256ae5b747830160a1dd1f3f532cf726b394 (patch)
tree6f7f7c2d900bbea462f7f89f869cdcd797a69576
parent289256337a5de9993e592ad0adaea7fef14af86c (diff)
downloadrneovim-49d2256ae5b747830160a1dd1f3f532cf726b394.tar.gz
rneovim-49d2256ae5b747830160a1dd1f3f532cf726b394.tar.bz2
rneovim-49d2256ae5b747830160a1dd1f3f532cf726b394.zip
build(gen_vimdoc): fall back to lua if luajit doesn't exist (#19498)
It currently falls back to texlua if luajit doesn't exist. However, the documentation generation does not work with texlua. Instead use lua as a fall back instead.
-rwxr-xr-xscripts/lua2dox_filter14
1 files changed, 3 insertions, 11 deletions
diff --git a/scripts/lua2dox_filter b/scripts/lua2dox_filter
index 8760f12176..22484a807f 100755
--- a/scripts/lua2dox_filter
+++ b/scripts/lua2dox_filter
@@ -36,22 +36,14 @@ test_executable(){
##! \brief sets the lua interpreter
set_lua(){
- if test -z "${EXE}"
- then
+ if test -z "${EXE}"; then
test_executable 'luajit'
fi
- if test -z "${EXE}"
- then
- test_executable 'texlua'
- fi
-
- if test -z "${EXE}"
- then
+ if test -z "${EXE}"; then
test_executable 'lua'
fi
- #echo "final EXE=\"${EXE}\""
- }
+}
##! \brief makes canonical name of file
##!