smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

Latex fixes

Open dschrempf opened this issue 1 year ago • 2 comments

Hi! This fixes https://github.com/Fuco1/smartparens/issues/1100; well, it disables some features of smartparens for latex modes. The PR also includes some other nits and changes. Let me know if I should exclude those.

Finally, this change is a breaking change for people using

(sp-local-pair modes "``" nil ...))) ;; or
(sp-local-pair modes "`" nil ...)))

For example, this affects Doom Emacs, which I am using. The corresponding patch for Doom Emacs is attached. s.patch

dschrempf avatar Mar 16 '23 20:03 dschrempf

Hmm, to be fair though, the "default" behaviour is fine until you use those special language quotes, right? I wonder if we shouldn't keep it working e.g. in english.

Fuco1 avatar Mar 16 '23 20:03 Fuco1

For me, smartparens is completely broken in LaTeX, also in English. I am not using German in my documents. It could be a Doom Emacs issue. I removed all the relevant changes (see the patch), but who knows.

dschrempf avatar Mar 16 '23 20:03 dschrempf