LunarVim.LunarVim/init.lua

20 lines
598 B
Lua
Raw Normal View History

2021-07-04 22:14:01 -03:00
require "default-config"
local status_ok, error = pcall(vim.cmd, "luafile " .. CONFIG_PATH .. "/lv-config.lua")
2021-07-10 03:19:32 -04:00
if not status_ok then
print "something is wrong with your lv-config"
print(error)
2021-07-10 03:19:32 -04:00
end
require "keymappings"
2021-07-04 22:14:01 -03:00
require "plugins"
vim.g.colors_name = O.colorscheme -- Colorscheme must get called after plugins are loaded or it will break new installs.
2021-07-10 03:19:32 -04:00
require "settings"
2021-07-04 22:14:01 -03:00
require "lv-utils"
2021-07-10 03:19:32 -04:00
-- TODO: these guys need to be in language files
-- require "lsp"
-- if O.lang.emmet.active then
-- require "lsp.emmet-ls"
-- end
-- if O.lang.tailwindcss.active then
2021-07-07 21:57:36 -04:00
-- require "lsp.tailwind