feat(nvim): add py-requirements extra
This commit is contained in:
1 parent
90d1c310fd
commit
006f5a858e
4 files changed
+50
-9
No files matched your search
@@ -4,6 +4,7 @@ return {
|
||||
opts = function(_, opts)
|
||||
vim.list_extend(opts.ensure_installed, {
|
||||
"php",
|
||||
"phpdoc",
|
||||
})
|
||||
end,
|
||||
},
|
||||
@@ -12,6 +13,8 @@ return {
|
||||
opts = function(_, opts)
|
||||
vim.list_extend(opts.ensure_installed, {
|
||||
"phpactor",
|
||||
"php-cs-fixer",
|
||||
"phpcs",
|
||||
})
|
||||
end,
|
||||
},
|
||||
@@ -23,6 +26,14 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
opts = function(_, opts)
|
||||
opts.linters_by_ft.php = opts.linters_by_ft.php or {}
|
||||
table.insert(opts.linters_by_ft.php, "phpcs")
|
||||
return opts
|
||||
end,
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
@@ -56,6 +67,14 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
opts = function(_, opts)
|
||||
opts.formatters_by_ft.php = opts.formatters_by_ft.php or {}
|
||||
table.insert(opts.formatters_by_ft.php, "php_cs_fixer")
|
||||
return opts
|
||||
end,
|
||||
},
|
||||
{
|
||||
"luckasRanarison/nvim-devdocs",
|
||||
optional = true,
|
||||
|
||||
Reference in new issue
Block a user