-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugins.lua
More file actions
107 lines (92 loc) · 1.97 KB
/
plugins.lua
File metadata and controls
107 lines (92 loc) · 1.97 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
return {
"numToStr/Comment.nvim",
{
"filipdutescu/renamer.nvim",
config = function()
require("renamer").setup({})
end,
},
{
"nvim-telescope/telescope.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
},
{
"desdic/telescope-rooter.nvim",
config = function()
require("telescope").load_extension("rooter")
end,
},
{
"vimlab/split-term.vim",
config = function()
vim.cmd("set splitbelow")
vim.cmd(":au BufEnter * if &buftype == 'terminal' | :startinsert | endif")
end,
},
{
"folke/neodev.nvim",
config = function()
require("neodev").setup()
end,
},
{
"willothy/flatten.nvim",
config = true,
lazy = false,
priority = 1001,
},
{
"simrat39/rust-tools.nvim",
config = function()
local tools = require("rust-tools")
tools.setup({
server = {
on_attach = function(_, bufnr)
vim.keymap.set("n", "<C-space>", tools.hover_actions.hover_actions, { buffer = bufnr })
vim.keymap.set("n", "<Leader>a", tools.code_action_group.code_action_group, { buffer = bufnr })
end,
},
})
end,
},
{
"goolord/alpha-nvim",
event = "VimEnter",
config = function()
require("custom.config.alpha")
end,
},
-- nvim-tree (https://github.com/nvim-tree/nvim-tree.lua)
{
"nvim-tree/nvim-tree.lua",
config = function()
require("nvim-tree").setup()
end,
},
"nvim-tree/nvim-web-devicons",
{
"https://git.sr.ht/~whynothugo/lsp_lines.nvim",
config = function()
require("lsp_lines").setup()
vim.diagnostic.config({
virtual_text = false,
})
end,
},
{
"utilyre/barbecue.nvim",
dependencies = {
"SmiteshP/nvim-navic",
"nvim-tree/nvim-web-devicons",
},
},
{
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {},
},
require("custom.theme"),
require("custom.config.null_ls"),
}