From 1dc3e5289b84da3cbf04649dc454b49be421859e Mon Sep 17 00:00:00 2001 From: Aria Date: Thu, 6 Dec 2018 17:00:24 +1100 Subject: [PATCH] lang/elixir: add pretty-symbols --- modules/lang/elixir/config.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/lang/elixir/config.el b/modules/lang/elixir/config.el index cfa23f7b0..09d3a413b 100644 --- a/modules/lang/elixir/config.el +++ b/modules/lang/elixir/config.el @@ -15,6 +15,18 @@ :post-handlers '("||\n[i]")) (sp-local-pair "do " " end" :unless '(sp-in-comment-p sp-in-string-p)) (sp-local-pair "fn " " end" :unless '(sp-in-comment-p sp-in-string-p)))) + (set-pretty-symbols! 'elixir-mode + ;; Functional + :def "def" + :lambda "fn" + :src_block "do" + :src_block_end "end" + ;; Flow + :not "!" + :in "in" :not-in "not in" + :and "and" :or "or" + :for "for" + :return "return" :yield "use") (def-package! alchemist-company :when (featurep! :completion company)