diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-09 02:28:49 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-09 02:28:49 +1200 |
commit | 576505dba94005662b8fd1293ab0d1a33d8e396d (patch) | |
tree | 2fa3fdc34638a3ce1dc70fe5d675c87f076e56f4 /Makefile | |
parent | Tweak HTML indenting to indent after <p> (diff) | |
download | dotfiles-576505dba94005662b8fd1293ab0d1a33d8e396d.tar.gz dotfiles-576505dba94005662b8fd1293ab0d1a33d8e396d.zip |
Specify which Vim to run in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -492,6 +492,7 @@ install-urxvt: urxvt/ext/select find urxvt/ext -type f ! -name '*.pl' \ -exec cp -p -- {} $(HOME)/.urxvt/ext \; +VIM = vim VIMDIR = $(HOME)/.vim VIMRC = $(HOME)/.vimrc @@ -507,6 +508,7 @@ install-vim: install-vim-after \ install-neovim: make install-vim \ + VIM=nvim \ VIMDIR=$${XDG_CONFIG_HOME:-"$$HOME"/.config}/nvim \ VIMRC=$${XDF_CONFIG_HOME:="$$HOME"/.config}/init.vim @@ -542,7 +544,7 @@ install-vim-bundle: install-vim-config find vim/bundle/*/*/* \ -type f -exec sh -c \ 'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/bundle/*/}"' _ {} \; - vim -e -u NONE -c 'helptags $(VIMDIR)/doc' -c quit + $(VIM) -e -u NONE -c 'helptags $(VIMDIR)/doc' -c quit install-vim-compiler: mkdir -p -- $(VIMDIR)/compiler |