tonini / alchemist.el

Elixir Tooling Integration Into Emacs
http://www.alchemist-elixir.org
906 stars 103 forks source link

insert 'end' when typing 'do' occurs in invalid contexts such as in comments #330

Closed jasongoodwin closed 5 years ago

jasongoodwin commented 6 years ago

if you type 'do' in a comment, 'end' is automatically inserted. For "" and "" and () and {} this is reasonable behaviour but not the words :(

jasongoodwin commented 6 years ago

same with typing if - it causes a do to appear in comments.

gausby commented 6 years ago

…are you by any chance a "Spacemacs" user?

jasongoodwin commented 6 years ago

Sorry - missed this comment - Hey yes I am. Is this a problem with spacemacs??

gausby commented 6 years ago

I am fairly sure it is. They have a history of adding "improvements" without actually testing it, resulting in a ton of bug reports. Generally I suggest people rolling their own Emacs config :)

It could perhaps be an issue with the smartparens package, or the spacemacs config of it.

bitwalker commented 6 years ago

This is fixed in the latest smartparens release, I reported it here and it was very promptly fixed :). I think this can be closed!