Skip to content

Adding individual plugin to runtimepath #181

Open
@vivien

Description

@vivien

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions