Browse Source

Pretty mode only in python buffers

main
parent
commit
c4a2db4309
  1. 2
      README.org
  2. 2
      modules/interface.el

2
README.org

@ -1469,7 +1469,7 @@ Make programming buffers prettier with [[https://github.com/pretty-mode/pretty-m
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package pretty-mode (use-package pretty-mode
:hook (prog-mode . turn-on-pretty-mode))
:hook (python-mode . turn-on-pretty-mode))
#+end_src #+end_src
*** Ligatures *** Ligatures

2
modules/interface.el

@ -48,7 +48,7 @@
"tt" '(counsel-load-theme t t :which-key "Theme")) "tt" '(counsel-load-theme t t :which-key "Theme"))
(use-package pretty-mode (use-package pretty-mode
:hook (prog-mode . turn-on-pretty-mode))
:hook (python-mode . turn-on-pretty-mode))
(when (display-graphic-p) (when (display-graphic-p)
(use-package fira-code-mode (use-package fira-code-mode

Loading…
Cancel
Save