Skip to content

Commit c905fff

Browse files
authored
Merge pull request #639 from jqno/fix-error-organize-imports
Fix error message for organize_imports
2 parents e7241e2 + aaffe3d commit c905fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/metals.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ end
307307
M.organize_imports = function()
308308
local lsp_clients = lsp.get_active_clients({ bufnr = 0, name = "metals" })
309309
if not lsp_clients or vim.tbl_isempty(lsp_clients) then
310-
log.warn_and_show("Metals is attatched to this buffer, so unable to organize imports.")
310+
log.warn_and_show("Metals is not attatched to this buffer, so unable to organize imports.")
311311
return
312312
end
313313
local metals_client = lsp_clients[1]

0 commit comments

Comments
 (0)