You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SHM's auto re-indenting works on a post-self-insert hook and just works
one character at a time. It could possibly work on a pre-self-insert
hook and then calculate the length of the string that's going to be
inserted. I don't know whether this will be intrusive or not but I'll
look into it tomorrow. Pre-insert-hooks have to be careful when adding
new content to the buffer.
An alternative can also be to see if there's a pre-insert hook for
auto-complete or a way to tell auto-complete how to insert (e.g. with
shm-insert-string).
Now this could be completely due to my ignorance, but it seems that auto-complete-mode breaks indentation.
Example: http://i.imgur.com/3oGaTBh.gif
Thanks a bunch for the amazing package! I can't even believe I used to write Haskell without it!
The text was updated successfully, but these errors were encountered: