removed cmp from lazydev

This commit is contained in:
2025-01-25 13:02:22 +01:00
parent a2a67558c0
commit 0e3f5dd9d2
2 changed files with 2 additions and 229 deletions

View File

@ -2,7 +2,7 @@ return {
{
'folke/lazydev.nvim',
ft = 'lua', -- only load on lua files
branch='main',
branch = 'main',
opts = {
library = {
-- See the configuration section for more details
@ -14,15 +14,5 @@ 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,
},
}
}