-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
nimlangserver times out when formatting file on save:
2025-04-10T11:27:01.887 INFO (pid:113263) [plugin] - coc.nvim initialized with node: v20.17.0 after �[33m146�[39m
2025-04-10T11:27:01.890 INFO (pid:113263) [services] - LanguageClient nim state change: stopped => starting
2025-04-10T11:27:01.896 INFO (pid:113263) [language-client-index] - Language server "languageserver.nim" started with 113303
2025-04-10T11:27:02.238 INFO (pid:113263) [services] - LanguageClient nim state change: starting => running
2025-04-10T11:27:02.244 INFO (pid:113263) [services] - service languageserver.nim started
2025-04-10T11:27:13.965 WARN (pid:113263) [handler-format] - Attempt to format file:///~/repos/nim-libp2p/libp2p/protocols/rendezvous.nim on save timed out after 500ms
2025-04-10T11:27:19.197 INFO (pid:113263) [attach] - Request action: fillDiagnostics [ �[33m1�[39m ]
2025-04-10T11:27:31.325 INFO (pid:113263) [attach] - receive notification: openLog []
Here's my coc-settings.json
file for reference:
{
"rust-analyzer.serverPath": "~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rust-analyzer",
"rust-analyzer.checkOnSave.overrideCommand": [
"./cargo",
"xcheck",
"--json-output"
],
"notification.disabledProgressSources": [
"*"
],
"languageserver": {
"nim": {
"command": "nimlangserver",
"filetypes": [
"nim"
],
"trace.server": "verbose",
"settings": {
"nim": {
"nimsuggestPath": "~/.nimble/bin/nimsuggest"
}
}
}
},
"coc.preferences.messageLevel": "debug",
"coc.preferences.formatOnSave": true
}
Obs: I'm using the newest nimlangserver
version installed both with nimble install nimlangserver
and building from source (both give the same error)
Has anyone run into similar issues and knows what could be? Perhaps I'm missing a coc config?
Metadata
Metadata
Assignees
Labels
No labels