The cursor should be in the middle (in b/w 2nd and 3rd equal signs)
Actual result
When you type 1 equal sign, a second one appears
The cursor is in b/w the 2 equal signs
The current implementation does nothing useful: it is not intuitive (does not follow the pattern of other autocomplete b/c highlight takes 2, not 1, equal sign, so it should only trigger with 2 equal signs), it misplaces the cursor, and it does not create enough equal signs.
Thank you for this. It’s not that urgent; it’s more of an annoyance b/c I often type = (a single equal sign) when writing notes so it’s just a hassle to delete the extra equal sign.
I just noticed this bug as well. I was typing stuff like x = 7, y = 5, and it gives me two equal signs every time i even type it… quite annoying and makes it unusable really.
I think its kind of urgent because it makes the editor look like some bug-ridden mess… usually these types of bugs are caught by automated testing. Im assuming there isnt one for Obsidian.