Open lucasvanmol opened 1 year ago
Investigating this—I may try to fix it myself in a fork or PR if welcome:
$
or $$
in the line so far, without regard to whether they actually causing the editor switch to TeX mode:
----- `$ // autocompletes to $$
`$` ------ `$ // doesn't autocomplete
`$` ------ `$$ // autocompletes to $$$
`$$` ------ `$ // autocompletes to $$
This is something I've also been struggling with, specifically when writing PHP in my notes.
A toggle for auto-close accessible from the command palette would be a decent addition that could alleviate the issue until the plugin can tell whether or not it's in TeX mode.
The latex isn't rendered anyway, and it's a slight annoyance for certain programming languages that use the $ symbol such as Perl or x86.