From 3ac1fac4448d9381799b20d33518ac344178d0dc Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 27 Sep 2023 15:25:33 +0300 Subject: [PATCH] feat(nvim): Switched from brew nvim to bob-nvim --- config/homebrew/Brewfile | 2 -- scripts/install-cargo-packages.sh | 18 +++++++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/config/homebrew/Brewfile b/config/homebrew/Brewfile index 4aba088..eb49f33 100644 --- a/config/homebrew/Brewfile +++ b/config/homebrew/Brewfile @@ -200,8 +200,6 @@ brew "m-cli" brew "mas" # NCurses Disk Usage brew "ncdu" -# Ambitious Vim-fork focused on extensibility and agility -brew "neovim" # HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server brew "nginx" # Port scanning utility for large networks diff --git a/scripts/install-cargo-packages.sh b/scripts/install-cargo-packages.sh index f156276..fde21fe 100755 --- a/scripts/install-cargo-packages.sh +++ b/scripts/install-cargo-packages.sh @@ -19,9 +19,14 @@ packages=( "eza" # A simple, fast and user-friendly alternative to 'find' "fd-find" + # A cargo subcommand for checking and applying + # updates to installed executables "cargo-update" - "pijul" + # recursively searches directories for a + # regex pattern while respecting your gitignore "ripgrep" + # A version manager for neovim + "bob-nvim" ) for pkg in "${packages[@]}"; do @@ -35,3 +40,14 @@ for pkg in "${packages[@]}"; do echo "" done + +msg_done "Installed cargo packages!" + +msg_run "Now doing the next steps for cargo packages" + +# use bob to install nvim +have bob && { + bob use stable && path_append "$XDG_DATA_HOME/bob/nvim-bin" +} + +msg_done "All next steps done!"