summaryrefslogtreecommitdiff
path: root/utils/bin/lvim.template
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2023-04-12 18:46:29 +0200
committerGitHub <[email protected]>2023-04-12 12:46:29 -0400
commita0b2a0e9bff3a32b55393ca926873eb49ce044be (patch)
tree47e3691f8a2a50e27060d383b032116504f73c46 /utils/bin/lvim.template
parent1e1e7bb4f5489cfbef693f3b9a269b0287d4b455 (diff)
feat(installer): allow customizing NVIM_APPNAME (#3896)
Diffstat (limited to 'utils/bin/lvim.template')
-rw-r--r--utils/bin/lvim.template4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/bin/lvim.template b/utils/bin/lvim.template
index c17d25be..4c04b9f8 100644
--- a/utils/bin/lvim.template
+++ b/utils/bin/lvim.template
@@ -1,9 +1,11 @@
#!/usr/bin/env bash
+export NVIM_APPNAME="${NVIM_APPNAME:-NVIM_APPNAME_VAR}"
+
export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-RUNTIME_DIR_VAR}"
export LUNARVIM_CONFIG_DIR="${LUNARVIM_CONFIG_DIR:-CONFIG_DIR_VAR}"
export LUNARVIM_CACHE_DIR="${LUNARVIM_CACHE_DIR:-CACHE_DIR_VAR}"
export LUNARVIM_BASE_DIR="${LUNARVIM_BASE_DIR:-BASE_DIR_VAR}"
-exec -a lvim nvim -u "$LUNARVIM_BASE_DIR/init.lua" "$@"
+exec -a "$NVIM_APPNAME" nvim -u "$LUNARVIM_BASE_DIR/init.lua" "$@"