Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Commit

Permalink
For now disable the global-prettify-symbols-mode, see #3
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocot committed Apr 6, 2017
1 parent 45cfd48 commit 46ab0b8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions core/marco-programming.el
Expand Up @@ -74,14 +74,14 @@
(rainbow-delimiters-mode t))
(add-hook 'prog-mode-hook 'mc/rainbow-mode-hook))

(when (boundp 'global-prettify-symbols-mode)
(add-hook 'emacs-lisp-mode-hook
(lambda ()
(push '("lambda" . ) prettify-symbols-alist)))
(add-hook 'js2-mode-hook
(lambda ()
(push '("function" . ) prettify-symbols-alist)))
(global-prettify-symbols-mode +1))
;; (when (boundp 'global-prettify-symbols-mode)
;; (add-hook 'emacs-lisp-mode-hook
;; (lambda ()
;; (push '("lambda" . ?λ) prettify-symbols-alist)))
;; (add-hook 'js2-mode-hook
;; (lambda ()
;; (push '("function" . ?λ) prettify-symbols-alist)))
;; (global-prettify-symbols-mode +1))

(which-function-mode t)
(electric-pair-mode t)
Expand Down

0 comments on commit 46ab0b8

Please sign in to comment.