smartparens
smartparens copied to clipboard
defp not working in Elixir
I have this minimal Emacs configuration stored in debug.el:
(use-package smartparens)
(use-package elixir-ts-mode
:config
(progn
(defun my-elixir-mode-hook ()
(smartparens-mode)
(require 'smartparens-elixir)
)
(add-hook 'elixir-ts-mode-hook 'my-elixir-mode-hook)
)
)
which I loaded with emacs -q --load debug.el.
When typing defp followed by a space, nothing happen.
I would expect defp to work like def, as we can see in this image: