smartparens
smartparens copied to clipboard
Add configuration for Coq
This is somewhat magical to me but it's copied from Doom Emacs' configuration for OCaml (tuareg-mode) and F# and it seems to work nicely: https://github.com/hlissner/doom-emacs/blob/1ab9f8b99d35a451a06c8278457ddfa58c566186/modules/config/default/config.el#L182.
I also tried (sp-local-pair "(*" "*)") but with that if you type (* you get (**)). It's quite possible that smartparens has this bug currently for OCaml and F#.
Is Coq in any way related to ML? I used it a couple years ago but as far as I remember it's a completely different thing. So probably a separate config file would be better? Or does it share some setup.