-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
When i try to format a PHP file, I always get this error:
[ERROR][2023-11-27 17:59:45] ...-format/init.lua:205 "efm: 0: format for LanguageID not supported: php"My current config:
lsp_setup = {
on_attach = on_attach,
init_options = { documentFormatting = true, documentRangeFormatting = true },
filetypes = { "php" },
settings = {
rootMarkers = { ".git/" },
languages = {
php = {
formatCommand = "phpcbf",
formatStdin = true,
},
},
},
}❯ whereis phpcbf
phpcbf: /usr/bin/phpcbfNVIM v0.9.4
efm-langserver 0.0.49
Metadata
Metadata
Assignees
Labels
No labels