aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-09-18 23:13:11 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-09-18 23:13:11 +0200
commitaf18201866ea29d179fd61bacd36b849a7d86a7d (patch)
treef91a593c1eac7e5cee50ed470fde903e0ae7ad17 /lua/plugins
parentf64a1630423087bb020c2c0ea341136abd725c38 (diff)
downloadnvim-conf-af18201866ea29d179fd61bacd36b849a7d86a7d.tar.gz
nvim-conf-af18201866ea29d179fd61bacd36b849a7d86a7d.zip
refactor lsp configurations
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/lsp.lua34
1 files changed, 11 insertions, 23 deletions
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua
index 1c0a855..60ea560 100644
--- a/lua/plugins/lsp.lua
+++ b/lua/plugins/lsp.lua
@@ -1,12 +1,7 @@
return {
"neovim/nvim-lspconfig",
dependencies = {
- {
- "jose-elias-alvarez/null-ls.nvim",
- dependencies = {
- "adalessa/php-code-actions.nvim",
- },
- },
+ "jose-elias-alvarez/null-ls.nvim",
{
"williamboman/mason.nvim",
opts = {
@@ -17,23 +12,16 @@ return {
},
"williamboman/mason-lspconfig.nvim",
"WhoIsSethDaniel/mason-tool-installer.nvim",
- {
- "j-hui/fidget.nvim",
- enabled = false,
- opts = {
- window = {
- blend = 0,
- },
- sources = {
- ["null-ls"] = {
- ignore = true,
- },
- },
- },
- },
},
event = "VeryLazy",
- config = function()
- require "alpha.lsp"
- end,
+ main = "alpha.lsp",
+ opts = {
+ mason = {
+ enable = true,
+ auto_install = false,
+ },
+ servers = {
+ phpactor = { enable = true },
+ },
+ },
}