summaryrefslogtreecommitdiff
path: root/.config/nvim/init.lua
blob: 042e95bea974059b5198940b163b1d4901c725c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require("bootstrap"):init()

local config = require "config"
-- config:init()
config:load()

local plugins = require "plugins"
require("plugin-loader"):load { plugins, options.plugins }

local Log = require "core.log"
Log:debug "Starting nvim"

vim.g.colors_name = options.colorscheme -- Colorscheme must get called after plugins are loaded or it will break new installs.
vim.cmd("colorscheme " .. options.colorscheme)

local commands = require "core.commands"
commands.load(commands.defaults)

require("keymappings").setup()

require("lsp").setup()