Closed RungeCC closed 1 week ago
Describe the bug The following code snippets
#let xxx = n => $#n$ #xxx(1) Dot't color me! // #( This should not be colored!
tinymist highlights them as:
Notice that:
#(
#let ...
Package/Software version:
VSCode version(Help -> About):
Version: 1.90.0 Release: 24158 Commit: cc102f3a62bd35f39ed059b99c5cce90e50a16e2 Date: 2024-06-06T18:33:17.728Z Electron: 29.4.0 ElectronBuildId: undefined Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Linux x64 6.6.32
tinymist extension version: v0.11.11. Get it by tinymist --version in terminal.
v0.11.11
tinymist --version
tinymist Build Timestamp: 1980-01-01T00:00:00.000000000Z Build Git Describe: VERGEN_IDEMPOTENT_OUTPUT Commit SHA: VERGEN_IDEMPOTENT_OUTPUT Commit Date: None Commit Branch: None Cargo Target Triple: x86_64-unknown-linux-gnu Typst Version: 0.11.1
Logs:
tinymist client log(Help -> Toggle Developer Tools -> Console):
Additional context VSCode color theme Monokai Dimmed, devtool shows that the element of that line is:
Monokai Dimmed
<div style="top:92px;height:19px;" class="view-line"> <span> <span class="mtk6">This</span><span class="mtk1"> </span> <span class="mtk6">should</span><span class="mtk1"> </span> <span class="mtk13">not</span><span class="mtk1"> </span> <span class="mtk6">be</span><span class="mtk1"> </span> <span class="mtk6">colored</span><span class="mtk1">!</span> </span></div>
Possibly related to https://github.com/Myriad-Dreamin/tinymist/issues/126
Describe the bug The following code snippets
tinymist highlights them as:
Notice that:
#(
in a comment line before it;#let ...
this would no longer happen.Package/Software version:
VSCode version(Help -> About):
tinymist extension version:
v0.11.11
. Get it bytinymist --version
in terminal.Logs:
tinymist client log(Help -> Toggle Developer Tools -> Console):
Additional context VSCode color theme
Monokai Dimmed
, devtool shows that the element of that line is:Possibly related to https://github.com/Myriad-Dreamin/tinymist/issues/126