1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-14 05:17:59 +08:00
SpaceVim/bundle/nvim-plug
2025-02-05 00:58:34 +08:00
..
lua/plug feat(nvim-plug): support local plugins 2025-02-05 00:55:49 +08:00
plugin feat(nvim-plug): add new plugin manager 2025-02-04 23:27:02 +08:00
test feat(nvim-plug): add new plugin manager 2025-02-04 23:27:02 +08:00
README.md feat(nvim-plug): support local plugin 2025-02-05 00:58:34 +08:00

nvim-plug

nvim-plug is a simple plugin manager for neovim

GPLv3 License

Alpha version. Any changes, including backward incompatible changes, are applied without announcements.

Usage

require('plug').setup({
  bundle_dir = 'D:/bundle_dir',
  max_processes = 5, -- max number of processes used for nvim-plug job
  base_url = 'https://github.com',
})

require('plug').add({
  {
    'wsdjeg/scrollbar.vim',
    events = { 'VimEnter' },
    config = function() end,
  },
  {
    'wsdjeg/flygrep.nvim',
    cmds = { 'FlyGrep' },
    config = function()
      require('flygrep').setup()
    end,
  },
  {
    'D:/wsdjeg/winbar.nvim',
    events = { 'VimEnter' },
  },
})

Plugin Spec

name description
[1] string, plugin repo short name, wsdjeg/flygrep.nvim
cmds table<string>, commands lazy loading
events table<string>, events lazy loading
on_ft table<string>, filetypes lazy loading
type string, plugin type including color, plugin
build string or table<string>, executed by job api

Commands

  • :PlugInstall: install specific plugin

Feedback

The development of this plugin is in SpaceVim/bundle/nvim-plug directory.

If you encounter any bugs or have suggestions, please file an issue in the issue tracker