Disable neodev which is now EOL
This commit is contained in:
parent
6faa96658e
commit
42f70ab8b4
14
init.lua
14
init.lua
|
@ -424,25 +424,25 @@ require('lazy').setup({
|
||||||
-- used for completion, annotations and signatures of Neovim apis
|
-- used for completion, annotations and signatures of Neovim apis
|
||||||
-- { 'folke/neodev.nvim', opts = {} },
|
-- { 'folke/neodev.nvim', opts = {} },
|
||||||
-- NEODEV IS NOW EOL
|
-- NEODEV IS NOW EOL
|
||||||
{ "folke/neodev.nvim", enabled = false }, -- disable neodev as it is EOL
|
{ 'folke/neodev.nvim', enabled = false }, -- disable neodev as it is EOL
|
||||||
{
|
{
|
||||||
"folke/lazydev.nvim",
|
'folke/lazydev.nvim',
|
||||||
ft = "lua", -- only load on lua files
|
ft = 'lua', -- only load on lua files
|
||||||
opts = {
|
opts = {
|
||||||
library = {
|
library = {
|
||||||
-- See the configuration section for more details
|
-- See the configuration section for more details
|
||||||
-- Load luvit types when the `vim.uv` word is found
|
-- Load luvit types when the `vim.uv` word is found
|
||||||
{ path = "luvit-meta/library", words = { "vim%.uv" } },
|
{ path = 'luvit-meta/library', words = { 'vim%.uv' } },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ "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
|
{ -- optional completion source for require statements and module annotations
|
||||||
"hrsh7th/nvim-cmp",
|
'hrsh7th/nvim-cmp',
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
opts.sources = opts.sources or {}
|
opts.sources = opts.sources or {}
|
||||||
table.insert(opts.sources, {
|
table.insert(opts.sources, {
|
||||||
name = "lazydev",
|
name = 'lazydev',
|
||||||
group_index = 0, -- set group index to 0 to skip loading LuaLS completions
|
group_index = 0, -- set group index to 0 to skip loading LuaLS completions
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue