nvim/init.vim: nvim directory will always be in the right place now
This commit is contained in:
parent
e818ab33b2
commit
67da0e04d6
|
@ -43,6 +43,13 @@ let g:zig_fmt_autosave = 0
|
|||
|
||||
" Plugins
|
||||
" Load plugin manager
|
||||
" Plugin directory should be in XDG_CONFIG_HOME, or in ~/.config if that
|
||||
" variable is unset
|
||||
if $XDG_CONFIG_HOME ==# ""
|
||||
let b:config_prefix="~/.config"
|
||||
else
|
||||
let b:config_prefix=$XDG_CONFIG_HOME
|
||||
endif
|
||||
call plug#begin($XDG_CONFIG_HOME . 'nvim/plugins/')
|
||||
|
||||
" Semantic understanding of languages
|
||||
|
|
Loading…
Reference in New Issue