OS version and name: Windows 11 Home 10.0.22621.1413
I am on the latest stable version of the extension/LSP.
I have searched the issues of this repo and believe that this is not a duplicate.
Issue
Encountered LSP crash similar to #232 on version 0.9.4 (after merged fixes before 0.9.4). When typing an funtion name, the incomplete and undefined input triggered the LSP to panic.
// function name: #pagebreak()
#p // triggers panic
#pa // triggers panic
#pag // triggers panic
... // anything other than `#pagebreak()` immediately make the LSP to panic even before I can input the complete name
Logs
Sample Code
#set text(
font: "LXGW WenKai",
size: 14pt,
lang: "zh",
)
123123
#pagebreak() //LSP crashes along with the keystrokes. One keystroke one panic in the log. After five panickes, the LSP doesn't restart accordingly.
123456
#pag //thread 'main' panicked at 'span should be in source since we got it using the span', src\lsp_typst_boundary.rs:240:14
Issue
Encountered LSP crash similar to #232 on version 0.9.4 (after merged fixes before 0.9.4). When typing an funtion name, the incomplete and undefined input triggered the LSP to panic.
Logs
Sample Code
Verbose Log