summaryrefslogtreecommitdiff
path: root/utils/bin
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2023-02-25 11:45:30 +0100
committerkylo252 <[email protected]>2023-02-25 11:48:04 +0100
commit5497b5dbf30a6222a93a24d602f1fe76ffb8ada7 (patch)
treec8f62eb9fef4f665a44f12dd6bb2a3da624bd5c7 /utils/bin
parent2b1af90a97b8140de12a6d540c6bb8f5b615b0e6 (diff)
feat(installer): allow customizing NVIM_APPNAMEappname-impl
Diffstat (limited to 'utils/bin')
-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" "$@"