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",
|
"mfussenegger/nvim-dap",
|
||||||
optional = true,
|
optional = true,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
opts = { ensure_installed = { "php-debug-adapter" } },
|
opts = { ensure_installed = {
|
||||||
|
"php-debug-adapter",
|
||||||
|
} },
|
||||||
},
|
},
|
||||||
opts = function()
|
opts = function()
|
||||||
local dap = require("dap")
|
local dap = require("dap")
|
||||||
|
|
@ -48,12 +59,6 @@ return {
|
||||||
{
|
{
|
||||||
"mfussenegger/nvim-lint",
|
"mfussenegger/nvim-lint",
|
||||||
optional = true,
|
optional = true,
|
||||||
dependencies = {
|
|
||||||
"williamboman/mason.nvim",
|
|
||||||
opts = { ensure_installed = {
|
|
||||||
"phpcs",
|
|
||||||
} },
|
|
||||||
},
|
|
||||||
opts = {
|
opts = {
|
||||||
linters_by_ft = {
|
linters_by_ft = {
|
||||||
php = { "phpcs" },
|
php = { "phpcs" },
|
||||||
|
|
@ -62,12 +67,6 @@ return {
|
||||||
{
|
{
|
||||||
"stevearc/conform.nvim",
|
"stevearc/conform.nvim",
|
||||||
optional = true,
|
optional = true,
|
||||||
dependencies = {
|
|
||||||
"williamboman/mason.nvim",
|
|
||||||
opts = { ensure_installed = {
|
|
||||||
"php-cs-fixer",
|
|
||||||
} },
|
|
||||||
},
|
|
||||||
opts = {
|
opts = {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
php = { "php-cs-fixer" },
|
php = { "php-cs-fixer" },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue