Myriad-Dreamin / tinymist

Tinymist [ˈtaɪni mɪst] is an integrated language service for Typst [taɪpst].
https://myriad-dreamin.github.io/tinymist
Apache License 2.0
725 stars 30 forks source link

tinymist Disconnection on nvim-lsp #713

Open lcdse7en opened 1 week ago

lcdse7en commented 1 week ago

01 Describe the bug A clear and concise description of what the bug is.

Package/Software version:

VSCode version(Help -> About):

Version: 1.81.1
Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
Date: 2023-08-09T22:18:39.991Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.4.12-x64v4-xanmod1

tinymist extension version: v0.11.0. Get it by tinymist --version in terminal.

tinymist 
Build Timestamp:     2024-03-22T02:18:18.207134800Z
Build Git Describe:  v0.11.1-rc2-5-gf0a96cb-dirty
Commit SHA:          f0a9...
Commit Date:         None
Commit Branch:       None
Cargo Target Triple: x86_64-pc-windows-msvc
Typst Version:       0.11.0

Logs:

tinymist server log(Output Panel -> tinymist):

tinymist client log(Help -> Toggle Developer Tools -> Console):

Additional context Add any other context about the problem here.

Eric-Song-Nop commented 1 week ago

Can you provide the Log for Tinymist, you can find it with the command LspLog or at ~/.local/state/nvim/lsp.log since you seems to be using Neovim, you can find if there is an error for tinymist in the log.

lcdse7en commented 1 week ago

02 03

Myriad-Dreamin commented 1 week ago

The second screenshot hints that there is some misconfiguration happening, e.g. wrong position encoding handshaking.

lcdse7en commented 5 days ago

The configuration bias is UTF-8 IMG_20241026_180433