2024-01-25 22:09:30 +01:00
|
|
|
-- Setup default options
|
|
|
|
require 'config.options'
|
|
|
|
require 'config.keymaps'
|
|
|
|
require 'config.autocmd'
|
|
|
|
|
|
|
|
-- Are we inside Neovide?
|
|
|
|
if vim.g.neovide then
|
2024-06-13 21:48:16 +02:00
|
|
|
require 'config.neovide'
|
2024-01-25 22:09:30 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
-- Try load package manager
|
|
|
|
local ok, err = pcall(require, 'config.manager')
|
|
|
|
|
|
|
|
if not ok then
|
2024-06-13 21:48:16 +02:00
|
|
|
vim.schedule(function()
|
|
|
|
vim.notify(err, vim.log.levels.ERROR)
|
|
|
|
end)
|
2024-01-25 22:09:30 +01:00
|
|
|
end
|