smartparens
smartparens copied to clipboard
Typing 'defp' in Elixir mode results in 'defpend' clunched together, inconsistent with the behavior of 'def' followed by SPC
Expected behavior
When I type 'defp' and then type SPC I want to see
defp | do
end
Actual behavior
When I type 'defp' I immediately see (without needing to type SPC)
defpend
Steps to reproduce the problem
See above
Backtraces if necessary (M-x toggle-debug-on-error)
Environment & version information
-
smartparensversion: 20231024.1804 - Active
major-mode:elixir-mode - Smartparens strict mode: nil
- Emacs version (
M-x emacs-version): GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) - Starterkit/Distribution: Vanilla
- OS: gnu/linux
Note: I am not 100% sure that this behavior is really caused by smartparens. Could you help me and tell me what I need to do to find out?
The code for def, defp, defmodule and defimpl seems to be the same in smartparens, and all of them work except for defp. I think it might be coming from somewhere else indeed, but can't say for sure.