-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Problem description
Trying to format the current neovim buffer using vim.lsp.buf.format
fails with a message that the LSP times out. It runs instantly if I only use rustfmt without leptosfmt. Increasing the timeout to 5s still fails, while running leptosfmt .
on the whole project in the terminal finishes in well under a second. My system is a M1 MacBook Pro.
Configuration
Leptosfmt is configured in the recommended way by creating a rust-analyzer.toml
with the content
[rustfmt]
overrideCommand = ["leptosfmt", "--stdin", "--rustfmt"]
Metadata
Metadata
Assignees
Labels
No labels