Skip to content

Commit

Permalink
Update lua/metals.lua
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Kipp <ckipp@pm.me>
  • Loading branch information
SvSchen and ckipp01 committed Feb 3, 2025
1 parent abd2967 commit ef6e995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/metals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ M.organize_imports = function()
if result.edit then
lsp.util.apply_workspace_edit(result.edit, "utf-16")
elseif result.disabled then
vim.notify(result.disabled.reason, vim.log.levels.WARN)
log.warn_and_show(result.disabled.reason)
else
lsp.buf.execute_command(result)
end
Expand Down

0 comments on commit ef6e995

Please sign in to comment.