chore(nvim): disable formatting for now for PHP
This commit is contained in:
parent
cd67d3800c
commit
c7a0954051
|
@ -16,6 +16,14 @@ local servers = {
|
||||||
|
|
||||||
intelephense = {
|
intelephense = {
|
||||||
filetypes = { "php", "module", "test", "inc" },
|
filetypes = { "php", "module", "test", "inc" },
|
||||||
|
|
||||||
|
on_attach = function(client)
|
||||||
|
-- Disable document formatting as I use different coding styles per
|
||||||
|
-- framework.
|
||||||
|
-- TODO: remove if editorconfig or something can format based on project.
|
||||||
|
client.resolved_capabilities.document_formatting = false
|
||||||
|
client.resolved_capabilities.document_range_formatting = false
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
sumneko_lua = {
|
sumneko_lua = {
|
||||||
|
@ -23,9 +31,9 @@ local servers = {
|
||||||
Lua = {
|
Lua = {
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
globals = { "vim" },
|
globals = { "vim" },
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
tailwindcss = {
|
tailwindcss = {
|
||||||
|
|
Loading…
Reference in a new issue