-
Notifications
You must be signed in to change notification settings - Fork 24
/
init.lua
46 lines (44 loc) · 1.03 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
-- Bootstrap plugins manager
local lazy_path = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazy_path) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--branch=stable",
"https://github.com/folke/lazy.nvim.git",
lazy_path,
})
end
vim.opt.rtp:prepend(lazy_path)
-- Load user configs before load plugins
require("user.configs")
require("lazy").setup({
-- Load plugin specifics in directories
spec = {
{ import = "user/plugins" },
{ import = "user/langs" },
},
install = {
-- Try to load one of these colorschemes when starting an installation during startup
colorscheme = { "tokyonight", "habamax" },
},
change_detection = {
-- Do not automatically check for config file changes and reload the ui
enabled = false,
},
performance = {
rtp = {
disabled_plugins = {
"gzip",
"matchit",
"matchparen",
"netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})