-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.lua
87 lines (71 loc) · 2 KB
/
setup.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local repo = "https://github.com/folke/lazy.nvim.git"
vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", repo, lazypath })
end
vim.opt.rtp:prepend(lazypath)
local plugins = {
-- colorscheme
require("config.plugin.gruvbox.lazyspec"),
-- completion
-- require("config.plugin.cmp.lazyspec"),
require("config.plugin.blink.lazyspec"),
-- package management for neovim dependency
require("config.plugin.mason.lazyspec"),
-- languages server protocol
require("config.plugin.lspconfig.lazyspec"),
require("config.plugin.fidget.lazyspec"),
require("config.plugin.trouble.lazyspec"),
-- fuzzy finder
require("config.plugin.telescope.lazyspec"),
-- editor
require("config.plugin.sfm.lazyspec"),
require("config.plugin.mini_surround.lazyspec"),
require("config.plugin.mini_pairs.lazyspec"),
require("config.plugin.mini_align.lazyspec"),
require("config.plugin.wakatime.lazyspec"),
-- git
require("config.plugin.gitsigns.lazyspec"),
require("config.plugin.neogit.lazyspec"),
-- interfaces
require("config.plugin.treesitter.lazyspec"),
-- golang
require("config.plugin.gopher.lazyspec"),
require("config.plugin.gotest.lazyspec"),
-- java
require("config.plugin.java.lazyspec"),
-- markdown
require("config.plugin.markdown.lazyspec"),
-- plantuml
require("config.plugin.plantuml.lazyspec"),
require("config.plugin.preview.lazyspec"),
-- ai
require("config.plugin.codecompanion.lazyspec"),
}
require("lazy").setup(plugins, {
ui = {
border = "single",
},
performance = {
rtp = {
disabled_plugins = {
"gzip",
"tar",
"tarPlugin",
"zip",
"zipPlugin",
"getscript",
"getscriptPlugin",
"vimball",
"vimballPlugin",
"tohtml",
"netrwPlugin",
"tutor",
},
},
},
rocks = {
hererocks = false,
enabled = false,
},
})