-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nimsuggest's find definition freezes Emacs #243
Comments
I have also run into this. I am not familiar with the expected behavior for the IPC with
This ensures the loop terminates when the timeout duration is reached. I can put up a PR if this looks like a reasonable solution to the maintainers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OS name: Linux x86_64
Versions
Emacs: 28.1
Nim compiler: 1.6.6
nimsuggest: 1.6.6
nim-mode: 20211102.917
Message related to nim-mode in
*Messages*
buffernothing - emacs is frozen until quit signal is invoked (with C-g)
Steps to reproduce the issue:
nimble init
.Source code of main project's file "playground.nim" follows.
nim-mode
andnimsuggest-mode
enabledxref-find-definitions
(M-. shortcut by default)When invoked on procs, variables, constants, types - it works as expected, ie. brings in source for that particular identifier.
Nimsuggest's find definition should reply with something like "no source for selected identifier has been found" instead of ending in non-responsive state.
Command line version of nimsuggest in comparison does work properly, and for keywords & module names instantly replies with '.' (dot symbol), like no definition has been found. Related issue report PMunch/nimlsp#128
The text was updated successfully, but these errors were encountered: