<div>Hi, while trying to learn a bit about Mercury I found the lack of a good Emacs major mode and Spacemacs layer a bit bothersome, so I took it upon myself to improve on (one of) the former and create the latter, for those interested. <br></div><div><br></div><div>Spacemacs layer: <a href="https://gitlab.com/lboklin/mercury-layer">https://gitlab.com/lboklin/mercury-layer</a><br></div><div>metal-mercury-mode PR: <a href="https://github.com/ahungry/metal-mercury-mode/pull/2">https://github.com/ahungry/metal-mercury-mode/pull/2</a><br></div><div><br></div><div>Indentation still leaves something to be desired and may not be to everyone's liking (and I see now that it doesn't follow the official style guide (<a href="http://www.mercurylang.org/development/developers/coding_standards.html">http://www.mercurylang.org/development/developers/coding_standards.html</a>).. but it can be toggled off with `M-x mercury-indentation-mode RET`. <br></div><div><div><div><br></div></div><div>Any criticisms or contributions are welcome, especially as I don't speak (e)lisp very well.<br></div></div><div><br></div><div>I'd love to have/write an auto-formatter in Mercury (elm-format showed me how invaluable it can be), but that seems like a sizeable project I'd never see all the way through, knowing myself.<br></div><div><br></div><div>Regards, <br></div><div>Ludvig<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><div><br></div></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div>