-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.lua
49 lines (39 loc) · 995 Bytes
/
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
-- common options
require("options")
-- autocmd
require("autocmd")
-- plugin
require("plugins")
-- theme
require("theme")
-- 加快启动时间
require("impatient")
-- plugin config
require("config.lualine").config()
require("config.bufferline").config()
require("config.nvim-tree").config()
require("config.nvim-treesitter").config()
require("config.toggleterm").config()
require("config.aerial").config()
require("config.indent_blankline").config()
require("config.nvim-autopairs").config()
require("config.hop").config()
require("config.gitsigns").config()
require("config.telescope").config()
require("config.comment").config()
require("config.surround").config()
-- lsp
require("lsp.setup")
require("lsp.nvim-cmp") -- 补全插件
require("lsp.ui")
-- debug dap
require("lsp.dap.nvim-dap")
require("lsp.dap.nvim-dap-go").setup() -- setup golang
-- 格式化
require("lsp.formatter")
-- lint
require("lsp.null-ls")
-- keymaps
require("keybindings")
-- snippets
require("snippets")