This repository was archived by the owner on Feb 9, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
64 lines (58 loc) · 1.22 KB
/
init.lua
File metadata and controls
64 lines (58 loc) · 1.22 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
vim.loader.enable()
local log = require("log")
local files = {
"globals",
"options",
"autocommands",
"commands",
"mappings",
}
for _, file in ipairs(files) do
local pkg = "core." .. file
local ok, err = pcall(require, pkg)
if not ok then
log.error("Error while loading package " .. pkg)
log.error(err)
return
end
end
local ok, err = pcall(require, "bootstrap")
if not ok then
log.error("Error during bootstrap")
log.error(err:gsub("\t", " "))
return
end
---@type LazyConfig
local opts = {
install = {
colorscheme = { "onedark" },
},
ui = {
icons = {
cmd = "",
config = "",
event = "",
favorite = "",
ft = "",
init = "",
import = "",
keys = "",
lazy = "",
loaded = "",
not_loaded = "",
plugin = "",
runtime = "",
require = " ",
source = "",
start = "",
task = "",
list = {
"",
"",
"",
"",
},
},
},
}
require("lazy").setup("plugins", opts)