mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-29 07:04:44 +02:00
24 lines
718 B
Lua
24 lines
718 B
Lua
require "default-config"
|
|
local status_ok, error = pcall(vim.cmd, "luafile " .. CONFIG_PATH .. "/lv-config.lua")
|
|
if not status_ok then
|
|
print "something is wrong with your lv-config"
|
|
print(error)
|
|
end
|
|
|
|
require "keymappings"
|
|
|
|
local plugins = require "plugins"
|
|
local plugin_loader = require("plugin-loader").init()
|
|
plugin_loader:load { plugins, O.user_plugins }
|
|
vim.g.colors_name = O.colorscheme -- Colorscheme must get called after plugins are loaded or it will break new installs.
|
|
|
|
require "settings"
|
|
require "lv-utils"
|
|
|
|
-- 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
|
|
-- require "lsp.tailwind
|