Skip to content

Commit

Permalink
Prettify in more modes
Browse files Browse the repository at this point in the history
  • Loading branch information
krismolendyke committed Aug 10, 2019
1 parent 4cdc341 commit f53bc82
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions custom.org
Expand Up @@ -1355,6 +1355,8 @@ function.
(require 'markdown-mode)

(defun k20e/markdown-mode-hook ()
(add-pragmatapro-prettify-symbols-alist)
(prettify-symbols-mode 1)
(setq markdown-open-command "open"
fill-column 118))

Expand Down Expand Up @@ -1549,6 +1551,10 @@ function.
(defun k20e/org-mode-hook ()
(auto-fill-mode 1)
(visual-line-mode 0)

(add-pragmatapro-prettify-symbols-alist)
(prettify-symbols-mode 1)

(setq org-pretty-entities t ; Display entities as UTF-8 characters.
truncate-lines nil
org-fontify-quote-and-verse-blocks t
Expand Down Expand Up @@ -2053,10 +2059,13 @@ function.
* sh-mode

#+BEGIN_SRC emacs-lisp
(require 'flycheck)
(require 'sh-script)

(defun k20e/sh-script-mode-hook ()
(prettify-symbols-mode 1))
(add-pragmatapro-prettify-symbols-alist)
(prettify-symbols-mode 1)
(flycheck-mode 1))

(add-hook 'sh-mode-hook 'k20e/sh-script-mode-hook)
#+END_SRC
Expand Down Expand Up @@ -2415,7 +2424,9 @@ function.
(flycheck-mode 1)
(flycheck-yamllint-setup)
(flyspell-mode-off)
(highlight-indent-guides-mode))
(highlight-indent-guides-mode)
(add-pragmatapro-prettify-symbols-alist)
(prettify-symbols-mode 1))

(add-hook 'yaml-mode-hook 'k20e/yaml-mode-hook)

Expand Down

0 comments on commit f53bc82

Please sign in to comment.