mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
add: update
This commit is contained in:
parent
d9f7dd2533
commit
0d2d1e65ab
3 changed files with 109 additions and 65 deletions
40
lua/plugins/lsp.lua
Normal file
40
lua/plugins/lsp.lua
Normal file
|
@ -0,0 +1,40 @@
|
|||
return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
lazy = true,
|
||||
event = "BufRead",
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
lazy = true,
|
||||
dependencies = { "williamboman/mason-lspconfig.nvim" },
|
||||
cmd = {
|
||||
"Mason",
|
||||
"MasonInstall",
|
||||
"MasonUninstall",
|
||||
"MasonUninstallAll",
|
||||
"MasonLog",
|
||||
},
|
||||
config = function()
|
||||
require("user.lsp")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"jayp0521/mason-null-ls.nvim",
|
||||
lazy = true,
|
||||
dependencies = {
|
||||
"nvimtools/none-ls.nvim",
|
||||
dependencies = {
|
||||
"nvimtools/none-ls-extras.nvim",
|
||||
lazy = true,
|
||||
},
|
||||
config = function()
|
||||
require("user.lsp.null-ls")
|
||||
end,
|
||||
},
|
||||
event = "InsertEnter",
|
||||
opts = function()
|
||||
require("user.mason-null-ls")
|
||||
end,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue