refactor(nvim): improve lazy dev types and loading
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m0s

This commit is contained in:
Price Hiller 2024-07-06 02:38:16 -05:00
parent e34644e14c
commit 49c2a1da09
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -1,21 +1,26 @@
---@diagnostic disable: missing-fields ---@diagnostic disable: missing-fields
return { return {
{
"hrsh7th/nvim-cmp",
event = { "InsertEnter", "ModeChanged" },
dependencies = {
{ {
"folke/lazydev.nvim", "folke/lazydev.nvim",
cmd = "LazyDev",
ft = "lua",
opts = { opts = {
library = { library = {
"luvit-meta/library", { path = "luassert-types/library", words = { "assert" } },
{ path = "busted-types/library", words = { "describe" } },
{ path = "luvit-meta/library", words = { "vim%.uv", "vim%.loop" } },
}, },
}, },
dependencies = { dependencies = {
{ "Bilal2453/luvit-meta", lazy = true }, { "Bilal2453/luvit-meta", lazy = true },
{ "LuaCATS/luassert", lazy = true },
{ "LuaCATS/busted", lazy = true },
}, },
ft = "lua",
}, },
{
"hrsh7th/nvim-cmp",
event = { "InsertEnter", "ModeChanged" },
dependencies = {
"hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-cmdline", "hrsh7th/cmp-cmdline",
"hrsh7th/cmp-emoji", "hrsh7th/cmp-emoji",