From 9e84c32f9d59e79f5d140adcf841d0e01e56669b Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Mon, 20 Jan 2020 01:30:23 +0200 Subject: [PATCH] [nvim] remove hardcoded config path --- nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/init.vim b/nvim/init.vim index e2e3313..12a6126 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -5,7 +5,7 @@ let g:vim_ide = get(g:, 'vim_ide', 0) let &runtimepath = g:nvim_dotfiles_dir.','.&runtimepath.','.g:nvim_dotfiles_dir.'/after' -let s:vim_config_dir = expand('~/.config/nvim') +let s:vim_config_dir = stdpath("config") let s:vim_plug_script = s:vim_config_dir . '/autoload/plug.vim' let s:vim_plug_home = s:vim_config_dir . '/plugged'