From cbf12def45801d8f81a974bd08563580206dc9ba Mon Sep 17 00:00:00 2001 From: poslop Date: Fri, 30 Jan 2026 10:45:28 -0600 Subject: [PATCH] jphp sup --- .stylua.toml | 2 +- lua/configs/lspconfig.lua | 2 +- lua/plugins/mason.lua | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 lua/plugins/mason.lua diff --git a/.stylua.toml b/.stylua.toml index ecb6dca..ca1541c 100644 --- a/.stylua.toml +++ b/.stylua.toml @@ -1,6 +1,6 @@ column_width = 120 line_endings = "Unix" indent_type = "Spaces" -indent_width = 2 +indent_width = 4 quote_style = "AutoPreferDouble" call_parentheses = "None" diff --git a/lua/configs/lspconfig.lua b/lua/configs/lspconfig.lua index 20a0cce..ad79e8f 100644 --- a/lua/configs/lspconfig.lua +++ b/lua/configs/lspconfig.lua @@ -1,6 +1,6 @@ require("nvchad.configs.lspconfig").defaults() -local servers = { "html", "cssls" } +local servers = { "phpactor" } vim.lsp.enable(servers) -- read :h vim.lsp.config for changing options of lsp servers diff --git a/lua/plugins/mason.lua b/lua/plugins/mason.lua new file mode 100644 index 0000000..3ce64d8 --- /dev/null +++ b/lua/plugins/mason.lua @@ -0,0 +1,14 @@ +return { + { + "williamboman/mason.nvim" + }, + + { + "williamboman/mason-lspconfig.nvim", + opts = { + ensure_installed = { + "phpactor", + } + } + } +}