nvim-kickstart/lua/custom/none-ls.lua

12 lines
240 B
Lua

local null_ls = require("null-ls")
null_ls.setup({
sources = {
null_ls.builtins.formatting.phpcbf.with({
command = "phpcbf", -- or full path if not in PATH
extra_args = { "--standard=PSR12" },
}),
},
on_attach = on_attach,
})