diff --git a/lua/null-ls/sources.lua b/lua/null-ls/sources.lua index e7ad1f39..e1860119 100644 --- a/lua/null-ls/sources.lua +++ b/lua/null-ls/sources.lua @@ -103,6 +103,7 @@ M.is_executable = function(source) if source.generator.opts.command then if vim.fn.executable(source.generator.opts.command) == 0 then -- if the command is not executable + log:error("failed to execute command: " .. source.generator.opts.command) return false end end