-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
73 lines (62 loc) · 1.35 KB
/
init.lua
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
65
66
67
68
69
70
71
72
73
vim.cmd([[
syntax off
filetype off
filetype plugin indent off
]])
Plugins = {}
function add_plugin(plugin)
Plugins[#Plugins + 1] = plugin
return Plugins
end
function add_plugins(plugins)
for _, plugin in ipairs(plugins) do
add_plugin(plugin)
end
return Plugins
end
require("bootstrap")
-- configure everything here
require("colorscheme")
require("options")
Mappings = require("mappings")
require("misc_plugins")
require("completion")
require("ai")
require("lsp")
require("search")
require("tsconfig")
require("terminal")
require("testing")
require("autocmds")
require("debugger")
-- require("norgconfig")
require("ui")
require("git")
require("lazy").setup(Plugins, {
install = {
-- install missing plugins on startup. This doesn't increase startup time.
missing = true,
-- try to load one of these colorschemes when starting an installation during startup
colorscheme = { "doom-one" },
},
performance = {
rtp = {
disabled_plugins = {
"gzip",
-- "matchit",
-- "matchparen",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
}
}
},
})
Mappings.setup()
vim.cmd([[
syntax on
filetype on
filetype plugin indent on
colorscheme doom-one
]])