From 22198d82b73db7d7454ee2e1cd4988aa6481c96e Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Thu, 6 Aug 2020 21:45:40 +0200 Subject: [PATCH] asdf --- init.vim | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/init.vim b/init.vim index 63d1843..6777ed4 100644 --- a/init.vim +++ b/init.vim @@ -4,7 +4,11 @@ " \ V /| | | | | | | | | (__ " \_/ |_|_| |_| |_|_| \___| -source ~/.config/nvim/plugins.vim +let g:vim_config_root = expand(':p:h') +let $VIM_ROOT = g:vim_config_root + + +source $VIM_ROOT/plugins.vim if &shell =~# 'fish$' @@ -191,6 +195,6 @@ let g:airline_theme='elkowars_gruvbox' " }}} -source ~/.config/nvim/whichkeyConfig.vim -source ~/.config/nvim/lsp.vim +source $VIM_ROOT/whichkeyConfig.vim +source $VIM_ROOT/lsp.vim " }}}