Revert "fix(lsp): disable php formatting workaround"
This reverts commit 7ce88bb7c1d904a628634c0d96ef05100866f50e.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user