Post #3812992
2026-07-14 16:38 UTC
its semantic token styling is set up very particularly, intended for rust
if a method takes its receiver by value, the method name gets a strikethrough
if it takes its receiver by reference, the method name is italicized instead
if it takes its receiver by mutable reference, the method name is italicized (indicates reference) and underlined (indicates mutable)
the implementation of this was the following rules
"method:rust": {
"strikethrough": true
},
"*.reference:rust": {
"italic": true,
"strikethrough": false
},
it relied on reference un-setting the strikethrough property, which no longer seems to work
Replies (0)
No replies.