Skip to content

Commit

Permalink
[nvim] add ability to set the plugin installation directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitmel committed Oct 31, 2021
1 parent a988db2 commit 640784b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvim/autoload/dotfiles/plugman.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ let g:dotfiles#plugman#inhibited_plugins = get(g:, 'dotfiles#plugman#inhibited_p
let g:dotfiles#plugman#repo_name = 'vim-plug'
let g:dotfiles#plugman#repo = 'junegunn/' . g:dotfiles#plugman#repo_name
let s:stdpath_config = exists('*stdpath') ? stdpath('config') : expand('~/.vim')
let g:dotfiles#plugman#install_path = s:stdpath_config . '/autoload/plug.vim'
let g:dotfiles#plugman#plugins_dir = s:stdpath_config . '/plugged'
let g:dotfiles#plugman#install_path = get(g:, 'dotfiles#plugman#install_path', s:stdpath_config . '/autoload/plug.vim')
let g:dotfiles#plugman#plugins_dir = get(g:, 'dotfiles#plugman#plugins_dir', s:stdpath_config . '/plugged')


function! dotfiles#plugman#derive_name(repo, spec) abort
Expand Down

0 comments on commit 640784b

Please sign in to comment.