Skip to content

Commit

Permalink
make: add a neovim-nightly target for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
geodimm committed Aug 5, 2023
1 parent 80e384a commit 3388eee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ neovim: neovim-install neovim-configure ## Install and configure neovim
neovim-install: ## Install neovim
brew install neovim

neovim-nightly: ## Install neovim-nightly
ifeq ($(PLATFORM),linux)
wget --quiet https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage -O ~/bin/nvim && chmod +x ~/bin/nvim
endif

neovim-configure: ## Configure neovim
rm -rf "${XDG_CONFIG_HOME}/nvim" && mkdir -p "${XDG_CONFIG_HOME}"
ln -fs "${DOTFILES_DIR}/nvim" "${XDG_CONFIG_HOME}/"
Expand Down

0 comments on commit 3388eee

Please sign in to comment.