Description
Swift version
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) Target: arm64-apple-macosx15.0
Platform
macOS 15.3.1
Editor
Neovim
Description
Hi, my sourcekit LSP keeps crashing/timing out (interrupting typing) in neovim. I ran sourcekit-lsp diagnose
and noticed a bunch of "failed" checks relating to inlay hints tests. I tried turning them off using vim.lsp.inlay_hint.enable(false)
and that makes the error go away. I'll say there still is some input lag when using this LSP but that's a minor issue in comparison. With inlay hints enabled an error message interrupts typing on essentially every 5 or so keystrokes.
The specific error message is: sourcekit: -32001: sourcekitd request timed out
I'm using just the default config for sourcekit. I also recorded a video reproduction so you can see what this looks like on my end https://asciinema.org/a/n7jOSeE0Cs9J8FUEksm7zruT3
Steps to Reproduce
Even just a hello world — project created by Xcode (seems like some project files are necessary to trigger the LSP) and opened in neovim with the LSP set up with default config.