init.lua 579 B

123456789101112131415161718
  1. require "default-config"
  2. require "keymappings"
  3. local status_ok, _ = pcall(vim.cmd, "luafile " .. CONFIG_PATH .. "/lv-config.lua")
  4. if not status_ok then
  5. print "something is wrong with your lv-config"
  6. end
  7. require "plugins"
  8. vim.g.colors_name = O.colorscheme -- Colorscheme must get called after plugins are loaded or it will break new installs.
  9. require "settings"
  10. require "lv-utils"
  11. -- TODO: these guys need to be in language files
  12. -- require "lsp"
  13. -- if O.lang.emmet.active then
  14. -- require "lsp.emmet-ls"
  15. -- end
  16. -- if O.lang.tailwindcss.active then
  17. -- require "lsp.tailwind