summaryrefslogtreecommitdiff
path: root/lua/lsp/null-ls/linters.lua
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2021-09-01 13:19:20 +0430
committerGitHub <[email protected]>2021-09-01 13:19:20 +0430
commite9d8d8cd2ed24740ad881f74632feaafae83fe1d (patch)
tree4924b9bac52420b8ba7171a633eecac811c515ba /lua/lsp/null-ls/linters.lua
parent92ee9552e90bef282218069f4d74dd87d77b4fcd (diff)
fix the string concat in logging (#1441)
Diffstat (limited to 'lua/lsp/null-ls/linters.lua')
-rw-r--r--lua/lsp/null-ls/linters.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/lsp/null-ls/linters.lua b/lua/lsp/null-ls/linters.lua
index bc191d7e..d88a8b83 100644
--- a/lua/lsp/null-ls/linters.lua
+++ b/lua/lsp/null-ls/linters.lua
@@ -45,15 +45,15 @@ function M.list_configured(linter_configs)
local linter = null_ls.builtins.diagnostics[lnt_config.exe]
if not linter then
- Log:error("Not a valid linter:", lnt_config.exe)
+ Log:error("Not a valid linter: " .. lnt_config.exe)
errors[lnt_config.exe] = {} -- Add data here when necessary
else
local linter_cmd = services.find_command(linter._opts.command)
if not linter_cmd then
- Log:warn("Not found:", linter._opts.command)
+ Log:warn("Not found: " .. linter._opts.command)
errors[lnt_config.exe] = {} -- Add data here when necessary
else
- Log:debug("Using linter:", linter_cmd)
+ Log:debug("Using linter: " .. linter_cmd)
linters[lnt_config.exe] = linter.with { command = linter_cmd, extra_args = lnt_config.args }
end
end