fix(lazydev): use luals' bundled luv library

This commit is contained in:
Folke Lemaitre 2024-11-24 23:03:03 +01:00
parent 91a3c663a7
commit eb525c680d
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -183,15 +183,13 @@ return {
cmd = "LazyDev", cmd = "LazyDev",
opts = { opts = {
library = { library = {
{ path = "luvit-meta/library", words = { "vim%.uv" } }, { path = "${3rd}/luv/library", words = { "vim%.uv" } },
{ path = "LazyVim", words = { "LazyVim" } }, { path = "LazyVim", words = { "LazyVim" } },
{ path = "snacks.nvim", words = { "Snacks" } }, { path = "snacks.nvim", words = { "Snacks" } },
{ path = "lazy.nvim", words = { "LazyVim" } }, { path = "lazy.nvim", words = { "LazyVim" } },
}, },
}, },
}, },
-- Manage libuv types with lazy. Plugin will never be loaded
{ "Bilal2453/luvit-meta", lazy = true },
-- Add lazydev source to cmp -- Add lazydev source to cmp
{ {
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",