Sha256: 53970d31f662a0bc2693a0ac5405fa850d1ac0cc5734e464ec5d4ea79f39c777

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

module Vim
  module Jar
    module Plugin
      autoload :Git, 'vim-jar/plugin/git.rb'

      extend ::Vim::Jar::Installer::Git
      

      def self.update 
        Dir.chdir(config.vim_home) do 
          system("git submodule update")
        end
      end

      def self.uninstall(name)
        uninstall_for(name)
      end

      def self.installed
        @installed ||= Dir[config.bundle_home.join("*")].map { |bundle_path| File.basename(bundle_path) }
      end

      def self.config
        ::Vim::Jar::Config.instance
      end
    end
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vimjar-0.3.1 lib/vim-jar/plugin.rb