mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
fix(installer): don't overwrite previous config (#3154)
This commit is contained in:
parent
5b35ed9c32
commit
0d578ab152
1 changed files with 2 additions and 1 deletions
|
@ -439,7 +439,8 @@ function setup_lvim() {
|
|||
|
||||
setup_shim
|
||||
|
||||
cp "$LUNARVIM_BASE_DIR/utils/installer/config.example.lua" "$LUNARVIM_CONFIG_DIR/config.lua"
|
||||
[ ! -f "$LUNARVIM_CONFIG_DIR/config.lua" ] \
|
||||
&& cp "$LUNARVIM_BASE_DIR/utils/installer/config.example.lua" "$LUNARVIM_CONFIG_DIR/config.lua"
|
||||
|
||||
echo "Preparing Packer setup"
|
||||
|
||||
|
|
Loading…
Reference in a new issue