Closed luxus closed 1 year ago
Does it work with:exec nvim -u "/Users/luxus/.config/lvim/init.lua"
?
nvim -u "/Users/luxus/.config/lvim/init.lua"
you would need sth like this
create a file called ~/.local/bin/neolvim
with this content
#!/usr/bin/env bash
export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-"/Users/luxus/.local/share/lunarvim"}"
export LUNARVIM_CONFIG_DIR="${LUNARVIM_CONFIG_DIR:-"/Users/luxus/.config/lvim"}"
export LUNARVIM_CACHE_DIR="${LUNARVIM_CACHE_DIR:-"/Users/luxus/.cache/nvim"}"
export LUNARVIM_BASE_DIR="${LUNARVIM_BASE_DIR:-"$LUNARVIM_RUNTIME_DIR/lvim"}"
neovide -- -u "$LUNARVIM_BASE_DIR/init.lua" "$@"
then call it
neolvim
yeah i know about this solution :( but i tried to make it work without any bash scripts. i wonder why it don't find user.neovim , i'm sure there must be a easy solution, it works with basic configs
https://github.com/LunarVim/LunarVim/pull/1777 after this got merged a year ago, i hoped to use your lvim config in
.config/lvim
and lunarvim in.config/nvim
lunarvim itself works fine i enterexport LUNARVIM_CONFIG_DIR="/Users/luxus/.config/lvim"
to switch the folder but with your config it runs into trouble it looks it doesn't find the right folder.https://github.com/abzcoding/lvim/blob/fb85c70cfd809299f0284988e3383b75a06626d7/config.lua#L12
any idea how could i fix it?