Replies: 3 comments
-
|
It depends on the editor you are using. If you want to format the file(s) manually this can be done from the commandline. slint-lsp format --help |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, I know about the |
Beta Was this translation helpful? Give feedback.
-
|
Use Neovim’s built-in LSP formatting command: :lua vim.lsp.buf.format()That should call You can check that with: :LspInfoIf you want a shorter command similar to :command SlintFmt lua vim.lsp.buf.format()Then run: :SlintFmt |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After successfully configured slint-lsp in neovim (it was easy!), and reading about slint-format, I found this entry on the documentation:
But I can't find any command to trigger it in my editor (like the
:RustFmtfor rust files). Is it documented somewhere?Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions