Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding individual plugin to runtimepath #181

Open
vivien opened this issue Oct 17, 2016 · 0 comments
Open

Adding individual plugin to runtimepath #181

vivien opened this issue Oct 17, 2016 · 0 comments

Comments

@vivien
Copy link

vivien commented Oct 17, 2016

Hi! If I want to add individual plugins to the runtimepath, is it OK to use something like:

function Add(name) abort
  let l:path = '~/.vim/bundle/' . a:name

  execute pathogen#infect(l:path)
  execute pathogen#helptags()
endfunction

Add('vim-sensible')
Add('vim-sleuth')

Should I use pathogen#surround() instead? Is it safe to run pathogen#helptags() multiple times?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant