Skip to content

Instantly share code, notes, and snippets.

@bbhoss
Created August 24, 2015 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbhoss/bf37376c8269f685ed73 to your computer and use it in GitHub Desktop.
Save bbhoss/bf37376c8269f685ed73 to your computer and use it in GitHub Desktop.
(require 'smartparens)
(sp-with-modes '(elixir-mode)
(sp-local-pair "fn" "end"
:when '(("SPC" "RET"))
:actions '(insert navigate))
(sp-local-pair "do" "end"
:when '(("SPC" "RET"))
:post-handlers '(sp-ruby-def-post-handler)
:actions '(insert navigate)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment