nvim/lua/cosmic/init.lua
Matthew Leong daaafc1f8d
Lazy.nvim (#88)
* feat: init lazy.nvim

* refactor: easy plugin init

* feat: user defined plugins

* refactor: clean up user config

* refactor: clean up lsp plugins

* fix: lsp signature

* fix: null ls user config

* feat: replace commands

* feat: optimize lazy loading

* fix: lsp_signature working

* fix: documentation hover/sig help

* fix: autopairs

* feat: clean up luasnips

* fix auto complete

* moar laziness

* feat: add markdown_inline to ensured_installed for TS

* clean up

* clean up auto-session
2022-12-29 08:34:17 -08:00

10 lines
225 B
Lua

local mods = {
'cosmic.core',
}
for _, mod in ipairs(mods) do
local ok, err = pcall(require, mod)
if not ok and not mod:find('cosmic.core.user') then
error(('Error loading %s...\n\n%s'):format(mod, err))
end
end