diff options
Diffstat (limited to 'lua/alpha/lsp/null-ls.lua')
| -rw-r--r-- | lua/alpha/lsp/null-ls.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lua/alpha/lsp/null-ls.lua b/lua/alpha/lsp/null-ls.lua index 3428ec6..b329ba6 100644 --- a/lua/alpha/lsp/null-ls.lua +++ b/lua/alpha/lsp/null-ls.lua @@ -16,14 +16,14 @@ null_ls.setup { -- php_actions.getter_setter, -- php_actions.file_creator, - null_ls.builtins.diagnostics.phpstan.with { - to_temp_file = false, - method = null_ls.methods.DIAGNOSTICS_ON_SAVE, - -- command = "./bin/phpstan", - -- condition = function () - -- return vim.fn.findfile("bin/phpstan") ~= "" - -- end - }, + -- null_ls.builtins.diagnostics.phpstan.with { + -- to_temp_file = false, + -- method = null_ls.methods.DIAGNOSTICS_ON_SAVE, + -- -- command = "./bin/phpstan", + -- -- condition = function () + -- -- return vim.fn.findfile("bin/phpstan") ~= "" + -- -- end + -- }, null_ls.builtins.diagnostics.phpcs.with { method = null_ls.methods.DIAGNOSTICS_ON_SAVE, condition = function(utils) |