nvim/lua/custom/plugins/lazydev.lua
Simon Lasbrugnas 3c4da351e5
feat: add lazydev.nvim
This plugin configures LuaLS in a much better way which makes editing
the config much easier with autocomplete, docs and such
2024-11-11 04:12:02 +01:00

14 lines
360 B
Lua

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" } },
},
},
},
{ "Bilal2453/luvit-meta", lazy = true }, -- optional `vim.uv` typings
}