DBoroujerdi / erlang-plus

Spacemacs Erlang layer with EDTS
3 stars 0 forks source link

No completion #1

Open rjcoelho opened 7 years ago

rjcoelho commented 7 years ago

I git clone to ~/.emacs.d/private/erlang+ added (setq-default dotspacemacs-configuration-layers '(erlang+)) and auto-completion layers and added a .edts file with ':name and :lib-dirs' but no auto-completion on tab, eg: 'proplists:'.

I'm a noob on emacs and edts. Thanks!

paulhenrich commented 7 years ago

@rjcoelho I just installed this and noticed it doesn't seem to automatically set the mode for erlang files. Maybe it's the same for you. It seems to work if I do <space>:edts-mode in my erlang buffer. I'm looking into how to set up hooks to enable it by default.

paulhenrich commented 7 years ago

It looks like you just have to set edts-auto-start-minor-mode to something non-nil (e.g. 1) in config.el (e.g. ~/.emacs.d/private/erlang+/config.el) for edts to start automatically if this is what's causing your issue.