my demo first config lua
This commit is contained in:
28
current_config/lua/plugins/lsp.lua
Normal file
28
current_config/lua/plugins/lsp.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
-- "jose-elias-alvarez/null-ls.nvim",
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {
|
||||
ui = {
|
||||
border = "rounded",
|
||||
},
|
||||
},
|
||||
},
|
||||
"folke/neodev.nvim",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||
},
|
||||
event = "VeryLazy",
|
||||
main = "alpha.lsp",
|
||||
opts = {
|
||||
mason = {
|
||||
enable = true,
|
||||
auto_install = false,
|
||||
},
|
||||
servers = {
|
||||
phpactor = { enable = true },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user