| 123456789101112131415161718192021222324252627 | if os.getenv "LUNARVIM_RUNTIME_DIR" then  local path_sep = vim.loop.os_uname().version:match "Windows" and "\\" or "/"  vim.opt.rtp:append(os.getenv "LUNARVIM_RUNTIME_DIR" .. path_sep .. "lvim")endrequire("bootstrap"):init()local config = require "config"-- config:init()config:load()local plugins = require "plugins"require("plugin-loader"):load { plugins, lvim.plugins }local Log = require "core.log"Log:debug "Starting LunarVim"vim.g.colors_name = lvim.colorscheme -- Colorscheme must get called after plugins are loaded or it will break new installs.vim.cmd("colorscheme " .. lvim.colorscheme)require("utils").toggle_autoformat()local commands = require "core.commands"commands.load(commands.defaults)require("lsp").global_setup()require("keymappings").setup()
 |