aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-26 09:42:15 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-26 09:42:15 +1200
commita4484bd1444f51154840fe2be12e9dde6414d1ec (patch)
tree92b17d6cd8239d053c2954bfcb7748b5db95f4a8 /Makefile
parent062e5d765443c09778d889a4a2ef58dd4248af8c (diff)
downloaddotfiles-a4484bd1444f51154840fe2be12e9dde6414d1ec.tar.gz
Move NeoVim-specific config to subfile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index acf0bab7..a19e87d8 100644
--- a/Makefile
+++ b/Makefile
@@ -511,8 +511,9 @@ install-vim: install-vim-after \
install-neovim:
make install-vim \
VIM=nvim \
- VIMDIR=$${XDG_CONFIG_HOME:-"$$HOME"/.config}/nvim \
- VIMRC=$${XDG_CONFIG_HOME:="$$HOME"/.config}/nvim/init.vim
+ VIMDIR="$${XDG_CONFIG_HOME:-"$$HOME"/.config}/nvim" \
+ VIMRC="$${XDG_CONFIG_HOME:="$$HOME"/.config}/nvim/init.vim"
+ cp -p -- vim/nvim.vim "$${XDG_CONFIG_HOME:-"$$HOME"/.config}/nvim"
install-vim-after: install-vim-after-ftplugin \
install-vim-after-indent \