diff --git a/config.org b/config.org index 47c8c04..fccd7f9 100644 --- a/config.org +++ b/config.org @@ -202,6 +202,12 @@ (setq indent-tabs-mode nil) ;; Use spaces instead of tabs (setq tab-width 2)) ;; Set tab width to your desired value + (add-hook 'prog-mode-hook 'my-set-indent-width) + (defun my-org-src-edit-hook () + "Set indent width for Org source blocks." + (setq indent-tabs-mode nil) ;; Use spaces instead of tabs + (setq tab-width 2)) ;; Set tab width to your desired value + (add-hook 'org-src-mode-hook 'my-org-src-edit-hook) @@ -246,6 +252,18 @@ make-backup-files nil) #+end_src +** Ligatures + +#+begin_src emacs-lisp + (use-package ligature + :config + (ligature-set-ligatures 'prog-mode '("<---" "<--" "<<-" "<-" "->" "-->" "--->" "<->" "<-->" "<--->" "<---->" "