smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

defp not working in Elixir

Open pallix opened this issue 7 months ago • 0 comments

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:

Image

pallix avatar May 07 '25 09:05 pallix