From 10f73a6481c890d556c3f5d7a15081a950d2a653 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Mon, 19 Jun 2023 09:07:54 +0200 Subject: update --- lua/alpha/lsp/null-ls.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lua/alpha/lsp/null-ls.lua') diff --git a/lua/alpha/lsp/null-ls.lua b/lua/alpha/lsp/null-ls.lua index 931d55a..6b9edc8 100644 --- a/lua/alpha/lsp/null-ls.lua +++ b/lua/alpha/lsp/null-ls.lua @@ -19,16 +19,16 @@ null_ls.setup { 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 + -- 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) - return utils.root_has_file "phpcs.xml" - end, + -- condition = function(utils) + -- return utils.root_has_file "phpcs.xml" + -- end, }, null_ls.builtins.formatting.pint, }, -- cgit v1.2.3