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", + } + } + } +}