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
278 stars 11 forks source link

Syntax highlighting issue in VS Code with specific text pattern. #356

Closed maxchang3 closed 6 days ago

maxchang3 commented 6 days ago

Describe the bug

SET 1
11
11

6777b7fe7471e2da13680ac93d782c0b

SET 1
11
11

ce9dc03ad78a1e19c79cb86853caec60

Notice that the highlighting is incorrect after the SET occurs.

Package/Software version:

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

# ~/.vscode/extensions/myriad-dreamin.tinymist-0.11.11-darwin-arm64/out [17:04:27] C:127
$ ./tinymist --version
tinymist
Build Timestamp:     2024-06-17T05:49:00.977859000Z
Build Git Describe:  v0.11.11
Commit SHA:          1c653d5fd28706e27077f8a2d49e6e7f072c2bb2
Commit Date:         None
Commit Branch:       None
Cargo Target Triple: aarch64-apple-darwin
Typst Version:       0.11.1

Name: Tinymist Typst
Id: myriad-dreamin.tinymist
Description: An integrated language service for Typst
Version: 0.11.12
Publisher: Myriad Dreamin
Myriad-Dreamin commented 6 days ago

I cannot reproduce it.

image

image

maxchang3 commented 6 days ago

Sorry for wasting your time. Initially, I used Extension Bisect and only identified tinymist. Later, I noticed that other MySQL keywords (such as CREATE, ALTER, DROP) also caused similar issues, which reminded me that I had installed an SQL-related extension, Highlight String Code (iuyoy.highlight-string-code). After disabling it, the problem was resolved. I should initially disable all extensions and then enable tinymist.