NIVM/lua/plugins/configs/lsp/neodev.lua
Robert Morrison fb537df11b chore(init): Initial working version
Create and push an initial working version of this repo before I change
things on this machine

Signed-off-by: Robert Morrison <robert@closedless.xyz>
2023-09-10 22:22:30 +01:00

13 lines
228 B
Lua

return function(opts)
local status, neodev = pcall(require, 'neodev')
if not status then return false end
neodev.setup {
library = {
plugins = opts.plugins,
runtime = opts.runtime,
types = opts.types,
},
}
end