diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/installer/config.example.lua | 2 | ||||
-rw-r--r-- | utils/installer/config_win.example.lua | 2 | ||||
-rwxr-xr-x | utils/installer/install-neovim-from-release | 6 |
3 files changed, 9 insertions, 1 deletions
diff --git a/utils/installer/config.example.lua b/utils/installer/config.example.lua index 61c2f915..562d4060 100644 --- a/utils/installer/config.example.lua +++ b/utils/installer/config.example.lua @@ -12,6 +12,8 @@ an executable lvim.log.level = "warn" lvim.format_on_save = true lvim.colorscheme = "onedarker" +-- to disable icons and use a minimalist setup, uncomment the following +-- lvim.use_icons = false -- keymappings [view all the defaults by pressing <leader>Lk] lvim.leader = "space" diff --git a/utils/installer/config_win.example.lua b/utils/installer/config_win.example.lua index c6bf470e..b659263a 100644 --- a/utils/installer/config_win.example.lua +++ b/utils/installer/config_win.example.lua @@ -29,6 +29,8 @@ vim.g.clipboard = { lvim.log.level = "warn" lvim.format_on_save = true lvim.colorscheme = "onedarker" +-- to disable icons and use a minimalist setup, uncomment the following +-- lvim.use_icons = false -- keymappings [view all the defaults by pressing <leader>Lk] lvim.leader = "space" diff --git a/utils/installer/install-neovim-from-release b/utils/installer/install-neovim-from-release index e98b1aee..08f27149 100755 --- a/utils/installer/install-neovim-from-release +++ b/utils/installer/install-neovim-from-release @@ -23,7 +23,11 @@ else exit 1 fi -declare -r RELEASE_URL="https://github.com/neovim/neovim/releases/$RELEASE_VER/download/$ARCHIVE_NAME.tar.gz" +if [[ "${RELEASE_VER}" == "latest" ]]; then + declare -r RELEASE_URL="https://github.com/neovim/neovim/releases/${RELEASE_VER}/download/${ARCHIVE_NAME}.tar.gz" +else + declare -r RELEASE_URL="https://github.com/neovim/neovim/releases/download/${RELEASE_VER}/${ARCHIVE_NAME}.tar.gz" +fi declare -r CHECKSUM_URL="$RELEASE_URL.sha256sum" DOWNLOAD_DIR="$(mktemp -d)" |