Module: Vim::Jar::Plugin
- Extended by:
- Installer::Git
- Defined in:
- lib/vim-jar/plugin.rb,
lib/vim-jar/plugin/git.rb
Defined Under Namespace
Classes: Git
Class Method Summary
collapse
config, install_to, remove_from_cache, remove_ref_from_git_config, remove_ref_from_gitmodules, uninstall_for
Class Method Details
.config ⇒ Object
23
24
25
|
# File 'lib/vim-jar/plugin.rb', line 23
def self.config
::Vim::Jar::Config.instance
end
|
.installed ⇒ Object
19
20
21
|
# File 'lib/vim-jar/plugin.rb', line 19
def self.installed
@installed ||= Dir[config.bundle_home.join("*")].map { |bundle_path| File.basename(bundle_path) }
end
|
.uninstall(name) ⇒ Object
15
16
17
|
# File 'lib/vim-jar/plugin.rb', line 15
def self.uninstall(name)
uninstall_for(name)
end
|
.update ⇒ Object
9
10
11
12
13
|
# File 'lib/vim-jar/plugin.rb', line 9
def self.update
Dir.chdir(config.vim_home) do
system("git submodule update")
end
end
|