fix cmp
This commit is contained in:
parent
ca6aacad53
commit
f49f09d8af
|
@ -1,4 +1,4 @@
|
|||
local cmp = require 'cmp'
|
||||
local cmp = require 'cmp' -- this is nvim-cmp
|
||||
return {
|
||||
{
|
||||
'neovim/nvim-lspconfig',
|
||||
|
@ -113,7 +113,7 @@ return {
|
|||
},
|
||||
{ -- Autocompletion
|
||||
'hrsh7th/nvim-cmp',
|
||||
enabled = false,
|
||||
enabled = not vim.g.started_by_firenvim,
|
||||
event = 'InsertEnter',
|
||||
dependencies = {
|
||||
-- Snippet Engine & its associated nvim-cmp source
|
||||
|
@ -313,10 +313,6 @@ return {
|
|||
},
|
||||
},
|
||||
{ 'kosayoda/nvim-lightbulb', event = { 'BufReadPre', 'BufNewFile' } },
|
||||
{
|
||||
'hrsh7th/nvim-cmp',
|
||||
enabled = not vim.g.started_by_firenvim,
|
||||
},
|
||||
{
|
||||
'mfussenegger/nvim-dap',
|
||||
lazy = false,
|
||||
|
@ -403,16 +399,6 @@ return {
|
|||
},
|
||||
},
|
||||
{ 'Bilal2453/luvit-meta', lazy = true }, -- optional `vim.uv` typings
|
||||
{ -- optional completion source for require statements and module annotations
|
||||
'hrsh7th/nvim-cmp',
|
||||
opts = function(_, opts)
|
||||
opts.sources = opts.sources or {}
|
||||
table.insert(opts.sources, {
|
||||
name = 'lazydev',
|
||||
group_index = 0, -- set group index to 0 to skip loading LuaLS completions
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
'mrcjkb/rustaceanvim',
|
||||
enabled = false,
|
||||
|
|
Loading…
Reference in New Issue