-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.lua
129 lines (128 loc) · 2.69 KB
/
plugins.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
local plugins = {
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
-- defaults
"vim",
"lua",
"python",
"go",
"bash",
"yaml",
"toml",
"terraform",
"dockerfile",
"scala",
"rust",
"templ",
-- web dev
"html",
"css",
"javascript",
"typescript",
"tsx",
"json",
"vue",
-- low level
"c",
"rust",
},
},
},
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"gopls", -- go
"templ", -- templ
"goimports", -- go
"pyright", -- python
"ruff",
"mypy",
"black",
"terraform-ls", -- terraform
"tflint",
"typescript-language-server", -- typescript
"vue-language-server",
"prettier",
"html-lsp",
"htmx-lsp",
},
},
},
{
"numToStr/Comment.nvim",
lazy = false,
},
{
"neovim/nvim-lspconfig",
config = function()
require "plugins.configs.lspconfig"
require "custom.configs.lspconfig"
end,
},
{
"jose-elias-alvarez/null-ls.nvim",
ft = {"go", "python", "javascript", "typescript", "javascriptreact", "typescriptreact", "vue"},
opts = function()
return require "custom.configs.null-ls"
end,
},
{"github/copilot.vim",
lazy = false,
config = function()
vim.g.copilot_no_tab_map = true;
vim.g.copilot_assume_mapped = true;
vim.g.copilot_tab_fallback = "";
end
},
{
"scalameta/nvim-metals",
ft = {"scala", "sbt"},
},
{
"nvim-neotest/neotest",
ft = {"go", "python", "scala", "javascript", "typescript", "javascriptreact", "typescriptreact", "rust"},
dependencies = {
"nvim-treesitter/nvim-treesitter",
"antoinemadec/FixCursorHold.nvim",
"nvim-lua/plenary.nvim",
"nvim-neotest/neotest-go",
"nvim-neotest/neotest-python",
"stevanmilic/neotest-scala",
"nvim-neotest/neotest-jest",
"marilari88/neotest-vitest",
-- "rouge8/neotest-rust",
},
config = function()
require "custom.configs.neotest"
end,
},
{
'mrcjkb/rustaceanvim',
version = '^4', -- Recommended
lazy = false, -- This plugin is already lazy
},
{
'saecki/crates.nvim',
tag = 'stable',
config = function()
require('crates').setup()
end,
},
{
"kdheepak/lazygit.nvim",
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
dependencies = {
"nvim-lua/plenary.nvim",
},
},
}
return plugins