dotfiles-ansible/roles/nvim/files/nvim/lua/modules/completion/plugins.lua

36 lines
1.2 KiB
Lua

local M = {}
local conf = require('modules.completion.config')
M['hrsh7th/nvim-cmp'] = {
event = 'InsertEnter',
wants = {'LuaSnip', 'cmp-under-comparator'},
requires = {
{
'L3MON4D3/LuaSnip',
wants = 'friendly-snippets',
requires = {{'rafamadriz/friendly-snippets', opt = true}},
config = conf.luasnip,
opt = true
},
{'lukas-reineke/cmp-under-comparator', opt = true}
},
config = conf.cmp
}
M['saadparwaiz1/cmp_luasnip'] = {after = 'nvim-cmp'}
M['saadparwaiz1/cmp_luasnip'] = {after = 'nvim-cmp'}
M['hrsh7th/cmp-path'] = {after = 'nvim-cmp'}
M['hrsh7th/cmp-buffer'] = {after = 'nvim-cmp'}
M['hrsh7th/cmp-calc'] = {after = 'nvim-cmp'}
M['uga-rosa/cmp-dictionary'] = {after = 'nvim-cmp'}
M['hrsh7th/cmp-nvim-lsp'] = {after = {'nvim-cmp', 'nvim-lspconfig'}}
-- M['tzachar/cmp-tabnine'] = {
-- after = 'nvim-cmp',
-- run = './install.sh',
-- config = conf.tabnine
-- }
M['kdheepak/cmp-latex-symbols'] = {after = 'nvim-cmp'}
M['PaterJason/cmp-conjure'] = {after = {'conjure', 'nvim-cmp'}}
M['windwp/nvim-autopairs'] = {after = 'nvim-cmp', config = conf.autopairs}
return M