Disable Autocompletion for math

When I type $$, the editor automatically expands it to $$$$. Additionally, when I delete $$, all of the $ symbols vanish. This behavior interferes with using inline math ($...$), as both single and double dollar signs are valid. While autocompletion is generally useful, it is problematic in this context.

Is there a way to disable autocompletion for the $ character? If not, I would appreciate the implementation of an option to turn this feature off.