Revert "fix(lsp): disable php formatting workaround"

This reverts commit 7ce88bb7c1d904a628634c0d96ef05100866f50e.
This commit is contained in:
2024-02-27 16:49:03 +01:00
parent 35e77a950b
commit 68bf1acad0
15 changed files with 194 additions and 195 deletions
+4 -8
View File
@@ -5,14 +5,10 @@
-- https://github.com/iamcco/coc-diagnostic/blob/master/src/config.ts
return {
enable = true,
enabled = true,
dependencies = {
"npm",
},
mason = {
name = "diagnostic-languageserver",
-- version = "",
},
lspconfig = {
filetypes = {
"python",
@@ -114,16 +110,16 @@ return {
sh = { "shfmt", },
bash = { "shfmt", },
zsh = { "shfmt", },
-- php = { "php_cs_fixer", },
php = { "php_cs_fixer", },
},
formatters = {
autopep8 = {
command = "autopep8",
args = {
"--aggressive",
"-",
"-"
},
rootPatterns = { "Pipfile", "tox.ini", ".git", },
rootPatterns = {"Pipfile", "tox.ini", ".git"},
isStdout = true,
isStderr = false,
ignoreExitCode = false,