diff options
author | Chris <[email protected]> | 2021-07-10 19:36:01 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-07-10 19:36:01 -0400 |
commit | 25ab9ea620348213f94b4e9e5fe055215355c308 (patch) | |
tree | 0abf2f81c41dfe6c21f00a772b46ba3cecfa26fa | |
parent | d9ee4e00e9fd179c5d1624d6a0bcee12e5751f6f (diff) | |
parent | b68950978aa6dc7b4bbd0e736f95d3e9f6b93615 (diff) |
Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling
-rw-r--r-- | README.md | 6 | ||||
-rwxr-xr-x | utils/installer/install.sh | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -28,6 +28,12 @@ Make sure you have the newest version of Neovim (0.5). bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/lunarvim/master/utils/installer/install.sh) ``` +If you help to develop Lunarvim, you can install a specific branch branch directly +``` bash +LVBRANCH=rolling bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/lunarvim/master/utils/installer/install.sh) +``` + + ## Installing LSP for your language Just enter `:LspInstall` followed by `<TAB>` to see your options diff --git a/utils/installer/install.sh b/utils/installer/install.sh index dedd1dc8..8d87260e 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -1,5 +1,6 @@ #!/bin/sh - +#Set Variable to master is not set differently +LVBRANCH="${LVBRANCH:-master}" set -o nounset # error when referencing undefined variable set -o errexit # exit when command fails @@ -100,7 +101,7 @@ installpacker() { cloneconfig() { echo "Cloning LunarVim configuration" - git clone --branch master https://github.com/ChristianChiarulli/lunarvim.git ~/.config/nvim + git clone --branch $LVBRANCH https://github.com/ChristianChiarulli/lunarvim.git ~/.config/nvim cp $HOME/.config/nvim/utils/installer/lv-config.example-no-ts.lua $HOME/.config/nvim/lv-config.lua nvim --headless \ +'autocmd User PackerComplete sleep 100m | qall' \ |