KadoBOT / cmp-plugins

nvim-cmp source for Neovim plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmp-plugins

nvim-cmp source for Neovim plugins.

Screen.Recording.2022-06-17.at.7.54.55.mov

Setup

Instalation

By default, the source will be available on all lua files. It's suggested that you change it to the filenames (or path) where you install your Neovim plugins (regular expressions also work).

use({
  "hrsh7th/nvim-cmp",
  requires = {
    {
      "KadoBOT/cmp-plugins",
      config = function()
        require("cmp-plugins").setup({
          files = { ".*\\.lua" }  -- default
          -- files = { "plugins.lua", "some_path/plugins/" } -- Recommended: use static filenames or partial paths
        })
      end,
    },
  }
})

Configuration

require('cmp').setup({
  sources = {
    { name = 'plugins' },
  },
})

About

nvim-cmp source for Neovim plugins

License:MIT License


Languages

Language:Lua 99.8%Language:JavaScript 0.2%Language:Vim Script 0.0%