Upgraded from neodev to lazydev

This commit is contained in:
2024-07-25 01:39:15 +02:00
parent a4a5afe3a9
commit 5c8b71ceb8
4 changed files with 16 additions and 4 deletions

View File

@@ -89,6 +89,7 @@ return {
},
},
sources = {
{ name = "lazydev", group_index = 0 },
{ name = "nvim_lsp" },
{ name = "luasnip" },
{ name = "path" },

View File

@@ -0,0 +1,13 @@
-- https://github.com/folke/lazydev.nvim
return {
{
"folke/lazydev.nvim",
ft = "lua",
opts = {
library = {
{ path = "luvit-meta/library", words = { "vim%.uv" } },
},
},
},
{ "Bilal2453/luvit-meta", lazy = true }, -- optional `vim.uv` typings
}

View File

@@ -11,9 +11,6 @@ return {
-- Set capabilities from cmp
"hrsh7th/cmp-nvim-lsp",
-- Additional lua configuration, makes nvim stuff amazing!
{ "folke/neodev.nvim", opts = {} },
-- Add document color
"mrshmllow/document-color.nvim",