You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm willing to help fix the problem and contribute a pull request
Describe the bug
While editing within code fences, I'm finding that adding lines (i.e, with <cr> or [o|O]) or removing them (<BS> or dd) that the LSP crashes with "exit code 2 and signal 0".
We worked on code handling links within code fences here, #399. Perhaps this change introduced a bug.
How to reproduce?
Create a new note.
Add code fences with or without lang definition.
Add a line or two within the code fences, delete, add, etc.
At some point the LSP should crash.
If text is added directly at the last line first, and code fences are added then somewhere above it, then the bug doesn't occur.
If the file is saved with text occupying the last line, and then reopened, and a code block is added somewhere above the last line, then the bug does occur.
zk configuration
na
Environment
zk 0.14.1-23-gbe5bd76
system: Darwin 23.6.0 arm64
The text was updated successfully, but these errors were encountered:
Check if applicable
Describe the bug
While editing within code fences, I'm finding that adding lines (i.e, with
<cr>
or[o|O]
) or removing them (<BS>
ordd
) that the LSP crashes with "exit code 2 and signal 0".Here are the lsp logs:
We worked on code handling links within code fences here, #399. Perhaps this change introduced a bug.
How to reproduce?
At some point the LSP should crash.
If text is added directly at the last line first, and code fences are added then somewhere above it, then the bug doesn't occur.
If the file is saved with text occupying the last line, and then reopened, and a code block is added somewhere above the last line, then the bug does occur.
zk configuration
na
Environment
zk 0.14.1-23-gbe5bd76
system: Darwin 23.6.0 arm64
The text was updated successfully, but these errors were encountered: