This commit is contained in:
Christoph J. Scherr 2024-07-04 15:31:43 +02:00
parent ca6aacad53
commit f49f09d8af
1 changed files with 2 additions and 16 deletions

View File

@ -1,4 +1,4 @@
local cmp = require 'cmp' local cmp = require 'cmp' -- this is nvim-cmp
return { return {
{ {
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
@ -113,7 +113,7 @@ return {
}, },
{ -- Autocompletion { -- Autocompletion
'hrsh7th/nvim-cmp', 'hrsh7th/nvim-cmp',
enabled = false, enabled = not vim.g.started_by_firenvim,
event = 'InsertEnter', event = 'InsertEnter',
dependencies = { dependencies = {
-- Snippet Engine & its associated nvim-cmp source -- Snippet Engine & its associated nvim-cmp source
@ -313,10 +313,6 @@ return {
}, },
}, },
{ 'kosayoda/nvim-lightbulb', event = { 'BufReadPre', 'BufNewFile' } }, { 'kosayoda/nvim-lightbulb', event = { 'BufReadPre', 'BufNewFile' } },
{
'hrsh7th/nvim-cmp',
enabled = not vim.g.started_by_firenvim,
},
{ {
'mfussenegger/nvim-dap', 'mfussenegger/nvim-dap',
lazy = false, lazy = false,
@ -403,16 +399,6 @@ return {
}, },
}, },
{ 'Bilal2453/luvit-meta', lazy = true }, -- optional `vim.uv` typings { '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', 'mrcjkb/rustaceanvim',
enabled = false, enabled = false,