With the latest sml-mode
(as of ELPA Jan 2022, Emacs 27), Emacs always creates some kind of pattern after a keyword such as val
, fun
and let
and whitespace. So, if I type fun
, I get
fun = ^
where ^
indicates the cursor position.
I appreciate the hint about that pattern that I need to enter something before and after an equal sign =
. But every time, I have to move the cursor back to where I was (i.e. after the fun
and space), and then enter the function signature. Then, I need to move the cursor behind the =
to enter the function body.
How can I disable this template insertion to avoid the jumping around the =
?