nvim/lua/plugins/lazydev.lua
2025-03-05 09:36:07 -05:00

18 lines
604 B
Lua

local config = require('config')
return {
'folke/lazydev.nvim',
ft = 'lua', -- only load on lua files
opts = {
library = {
-- See the configuration section for more details
-- Load luvit types when the `vim.uv` word is found
{ path = 'luvit-meta/library', words = { 'vim%.uv' } },
'lazy.nvim',
'toggleterm.nvim',
--[[ { path = 'plenary.nvim/lua/plenary', words = { 'plenary' } }, ]]
},
},
dependencies = { { 'Bilal2453/luvit-meta', lazy = true } },
enabled = not vim.tbl_contains(config.disable_builtin_plugins, 'lazydev'),
event = 'VeryLazy',
}