aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 84ca8a4..e24bd2a 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -688,6 +688,17 @@ To start off, first I need to enable lexical binding.
(enable-circe-aligned-nicks))
#+END_SRC
+** Org
+
+ Tell org-mode to fontify code blocks in their specified languages.
+
+ #+BEGIN_SRC emacs-lisp
+ (eval-when-compile (require 'org))
+
+ (with-eval-after-load 'org
+ (setq org-src-fontify-natively t))
+ #+END_SRC
+
* Custom
Put the customize settings in a different file so that Emacs doesn't