18 lines
617 B
Lua
18 lines
617 B
Lua
local user_config = require('core.user')
|
|
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(user_config.disable_builtin_plugins, 'lazydev'),
|
|
event = 'VeryLazy',
|
|
}
|