Zulip Chat Archive
Stream: lean4
Topic: backslash issue in VS Code
Michał Zdunek (May 13 2024 at 07:29):
This might be a stupid question, but when I try to type, for example, rw [\<- mul_assoc]
to get a back arrow, VS Code shows me the message
unexpected token '\'; expected ']'Lean 4
Type \ using \\ or \setminus
Does anyone know what might be the issue?
Henrik Böving (May 13 2024 at 07:31):
I don't know all the unicode shortcuts in vscode but the one I usually use for unicode left arrow is \l
what about that?
Michał Zdunek (May 13 2024 at 07:35):
Nevermind looks like it works if I type with \
from the start, instead of adding the backslash to an existing expression - sorry for bothering you!
Johan Commelin (May 13 2024 at 09:19):
Btw, note that \l
also works for this particular symbol.
Last updated: May 02 2025 at 03:31 UTC