refactor(nvim): improve lazy dev types and loading
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m0s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m0s
This commit is contained in:
parent
e34644e14c
commit
49c2a1da09
@ -1,21 +1,26 @@
|
||||
---@diagnostic disable: missing-fields
|
||||
return {
|
||||
{
|
||||
"folke/lazydev.nvim",
|
||||
cmd = "LazyDev",
|
||||
ft = "lua",
|
||||
opts = {
|
||||
library = {
|
||||
{ path = "luassert-types/library", words = { "assert" } },
|
||||
{ path = "busted-types/library", words = { "describe" } },
|
||||
{ path = "luvit-meta/library", words = { "vim%.uv", "vim%.loop" } },
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
{ "Bilal2453/luvit-meta", lazy = true },
|
||||
{ "LuaCATS/luassert", lazy = true },
|
||||
{ "LuaCATS/busted", lazy = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
event = { "InsertEnter", "ModeChanged" },
|
||||
dependencies = {
|
||||
{
|
||||
"folke/lazydev.nvim",
|
||||
opts = {
|
||||
library = {
|
||||
"luvit-meta/library",
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
{ "Bilal2453/luvit-meta", lazy = true },
|
||||
},
|
||||
ft = "lua",
|
||||
},
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-cmdline",
|
||||
"hrsh7th/cmp-emoji",
|
||||
|
Loading…
Reference in New Issue
Block a user