I'm trying to display prettify-symbols-mode to display for certain characters. I would like for this minor mode to be enabled across all programming languages - thus prog-mode. When I navigate to a .ex file it is not giving me the expected outcome (ie. => should display as ⇒). Code is below:
(defun dotspacemacs/user-config ()
(exec-path-from-shell-initialize)
(setq powerline-default-separator 'arrow)
(defun mix-format-on-save ()
(when (eq major-mode 'elixir-mode)
(elixir-format)))
;; display full buffer path in title window
;;(setq frame-title-format
;; (list (format "%s %%S: %%j " (system-name))
;; '(buffer-file-name "%f" (dired-directory dired-directory "%b"))))
(global-prettify-symbols-mode 0)
(setq prettify-symbols-unprettify-at-point t)
(setq prettify-symbols-alist
'(
("lambda" . 955) ; λ
("->" . 8594) ; →
("<-" . 8592)
("=>" . 8658) ; ⇒
("<=" . 8656)
("|>" . 10503)
))
(add-hook 'prog-mode-hook 'prettify-symbols-mode)
)