summaryrefslogtreecommitdiff
path: root/utils/bin/lvim
diff options
context:
space:
mode:
Diffstat (limited to 'utils/bin/lvim')
-rw-r--r--[-rwxr-xr-x]utils/bin/lvim5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/bin/lvim b/utils/bin/lvim
index c55ddda7..2303be3c 100755..100644
--- a/utils/bin/lvim
+++ b/utils/bin/lvim
@@ -1,5 +1,6 @@
#!/bin/sh
-LUNARVIM_RUNTIME_DIR=${LUNARVIM_RUNTIME_DIR:-"$HOME/.local/share/lunarvim"}
+export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-$HOME/.local/share/lunarvim}"
+export LUNARVIM_CONFIG_DIR="${LUNARVIM_RUNTIME_DIR:-$HOME/.config/lvim}"
-exec nvim -u "$LUNARVIM_RUNTIME_DIR"/lvim/init.lua "$@"
+exec nvim -u "$LUNARVIM_RUNTIME_DIR/lvim/init.lua" "$@"