Closed erasin closed 1 year ago
Thanks for the report @erasin ! Are you using the last released version: https://github.com/artempyanykh/marksman/releases/tag/2022-08-15 ?
The error reported is a timeout; basically, the server couldn't process a change within 5 seconds. This may happen if you have a lot (hundreds and hundreds) of markdown files. Or if you have something like node_modules
in your repo which is not ignored, so the server pulls in a ton of unwanted markdown files.
(Side note: need #46 to simplify debugging)
Thinking a bit more about this, it should be possible to make things responsive even for really huge workspaces by moving some of the work off of the critical section. More in #47
I install marksman from release. 2022-08-15 and 2022-08-07 have test .
All take same error.
.
├── book.toml
└── src
├── chapter_1.md
└── SUMMARY.md
I take action that goto a file in summary.md , marksman take error when I change anther file.
@erasin so there's just 2 md files? What's the size of these files?
Also, I haven't tried helix before. Maybe it has something to do with this...
@erasin could you provide more logs? What happens before the error. Please, use args=["server", "-v", "4"]
in your helix config to make marksman output debug/trace logs.
@erasin I could reproduce the issue. Basically, inserting any character in helix makes the server stuck. Things work fine in neovim and in emacs, so the problem is helix specific.
@erasin please try this release https://github.com/artempyanykh/marksman/releases/tag/2022-08-19 and let me know if it fixes things for you.
thanks ,It's work.
as Title , lsp take error when change file .
os: macos 12.5
termial: alacritty
editor: helix
marksman: 1.0.0
lsp config: ~/.config/helix/languages.toml
hx -vvv
take log~/.cache/helix/helix.log