mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
moved mason from deps to a separate spec
This commit is contained in:
parent
d677e76391
commit
fb65d25b56
1 changed files with 12 additions and 13 deletions
|
|
@ -18,12 +18,23 @@ return {
|
|||
},
|
||||
},
|
||||
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"phpcs",
|
||||
"php-cs-fixer",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
opts = { ensure_installed = { "php-debug-adapter" } },
|
||||
opts = { ensure_installed = {
|
||||
"php-debug-adapter",
|
||||
} },
|
||||
},
|
||||
opts = function()
|
||||
local dap = require("dap")
|
||||
|
|
@ -48,12 +59,6 @@ return {
|
|||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
optional = true,
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
opts = { ensure_installed = {
|
||||
"phpcs",
|
||||
} },
|
||||
},
|
||||
opts = {
|
||||
linters_by_ft = {
|
||||
php = { "phpcs" },
|
||||
|
|
@ -62,12 +67,6 @@ return {
|
|||
{
|
||||
"stevearc/conform.nvim",
|
||||
optional = true,
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
opts = { ensure_installed = {
|
||||
"php-cs-fixer",
|
||||
} },
|
||||
},
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
php = { "php-cs-fixer" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue