You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @gogamid, so scalafmt support is indeed part of Metals. By default scalafmt requires you to have a .scalafmt.conf file in order to know how to format your code. The pop up that you're seeing is Metals actually telling you that it can't find a config file. So you should be able to select the first option of creating the file, and then it should work as expected after that. We're actually discussing the behavior of this in scalameta/metals#5559.
Describe the bug
I thought scalafmt is builtin in nvim-metals, but when I format code, i get this error:
I use lazyvim
Configs:
metals.lua
autocmd.lua
Expected behavior
No response
Operating system
macOS
Version of Metals
1.0.0
Commit of nvim-metals
57cff9a
The text was updated successfully, but these errors were encountered: