summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index b22d8871..982623d0 100644
--- a/init.lua
+++ b/init.lua
@@ -1,11 +1,15 @@
require "default-config"
require "keymappings"
-vim.cmd("luafile " .. CONFIG_PATH .. "/lv-config.lua")
-require "settings"
+local status_ok, _ = pcall(vim.cmd, "luafile " .. CONFIG_PATH .. "/lv-config.lua")
+if not status_ok then
+ print "something is wrong with your lv-config"
+end
require "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"
require "lv-treesitter"
+
-- TODO these guys need to be in language files
-- require "lsp"
-- if O.lang.emmet.active then