Replies: 3 comments
-
Follow the steps in https://joaotavora.github.io/eglot/#Troubleshooting-Eglot. You can skip step 3. Do not skip steps 5, 6 and especially 7. |
Beta Was this translation helpful? Give feedback.
-
To reproduce: Install the latest nightly version of Zig. Run this code in an (toggle-debug-on-error)
(find-file "/tmp/temp.zig")
(insert "const std = @import(\"std\")\n\npub fn main() void {\n const a = 1;\n}\n")
(eglot-ensure)
(previous-line)
(previous-line)
(forward-char)
(forward-char)
(forward-char)
(forward-char)
(forward-char)
(forward-char)
(forward-char)
(forward-char)
(forward-char)
(sleep-for 1)
(forward-char) event log
Emacs version: No backtrace because |
Beta Was this translation helpful? Give feedback.
-
You used Also, can you do an interactive, non-Elisp version of this recipe? Where you actually type |
Beta Was this translation helpful? Give feedback.
-
I get the following error on every movement of the cursor:
I'm using eglot with clangd:
Besides the error messages it seems to work fine but the error messages slows down editing a lot and a lot of keystrokes are lost when typing at the same time as the error pops up.
Enabling debug in emacs does not give any more information. No stacktrace is shown.
Any hints on how I can debug this problem?
Beta Was this translation helpful? Give feedback.
All reactions