tonini / alchemist.el

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

Keyword (if) inside of a comment still triggers code completion #294

Closed x-ji closed 7 years ago

x-ji commented 7 years ago

Steps to reproduce:

  1. In a buffer with Elixir major mode activated, open a line of comment starting with #
  2. Type if
  3. Type space

Expected behavior: The space is normally inserted and nothing happens

Actual behavior: Code completion is triggered. do is inserted on this line and end is inserted on the next line.

Alchemist version: 1.9.0snapshot (package: 20170118.142)

Not sure if this is a bug in alchemist or if it has been dealt with already, but my cursory search among the issues doesn't seem to turn up a similar issue...

x-ji commented 7 years ago

OK, seems that it's actually a behavior of smartparens instead of alchemist? From https://github.com/tonini/alchemist.el/issues/276 If that's the case then please close the issue. Sorry for confusing the situation.

tonini commented 7 years ago

Thanks