-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
40 lines (34 loc) · 1.2 KB
/
init.lua
File metadata and controls
40 lines (34 loc) · 1.2 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--
-- ███ ███ ██ ██████ ██ ██ ██ ███ ███
-- ████ ████ ██ ██ ██ ██ ██ ██ ████ ████
-- ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██
-- ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
-- ██ ██ ██ ██████ ████ ██ ██ ██
--
-- Made by Warbacon
-- https://github.com/warbacon/nvim-config
vim.loader.enable()
if vim.fn.has("nvim-0.12") == 0 then
local v = vim.fn.api_info().version
if v then
local msg = string.format(
"This config requires Neovim v0.12.x or higher. You have v%d.%d.%d.",
v.major,
v.minor,
v.patch
)
vim.schedule(function()
vim.notify(msg, vim.log.levels.ERROR)
end)
end
return
end
require("vim._core.ui2").enable({})
vim.lsp.on_type_formatting.enable()
_G.Util = require("util")
require("config.options")
require("config.keymaps")
require("config.misc")
if vim.o.termguicolors then
require("config.plugins")
end