-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
24 lines (22 loc) · 1.24 KB
/
init.lua
File metadata and controls
24 lines (22 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--
-- ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗
-- ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║
-- ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║
-- ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║
-- ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║
-- ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝
--
-- File: init.lua
-- Description: main configuration file
-- Author: Florian Andrieu <andrieu.florian@mail.com>
if vim.fn.has('nvim-0.8') == 0 then
error('Need Neovim 0.8+ in order to use this config')
end
-- Import Lua modules --
local modules = { 'loader', 'plugins', 'core' }
for _, mod in ipairs(modules) do
local ok, err = pcall(require, mod)
if not ok then
error(('Error loading %s...\n\n%s'):format(mod, err))
end
end