Skip to content

defp not working in Elixir #1230

@pallix

Description

@pallix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions