From 89ebe85eb8c427bfe9065a3aee6d3600bde05db7 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Sat, 21 Aug 2021 10:44:17 +0300 Subject: doom-emacs: remove ligatures module and enable c/c++ completion --- doom-emacs/.config/doom/config.el | 3 +++ doom-emacs/.config/doom/init.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doom-emacs/.config/doom/config.el b/doom-emacs/.config/doom/config.el index 34c2cf2..633a0ee 100644 --- a/doom-emacs/.config/doom/config.el +++ b/doom-emacs/.config/doom/config.el @@ -173,6 +173,9 @@ version 2017-03-12" (add-hook 'yaml-mode-hook 'xah-syntax-color-hex) (add-hook 'html-mode-hook 'xah-syntax-color-hex) +(add-hook 'c++-mode-hook 'irony-mode) +(add-hook 'c-mode-hook 'irony-mode) + ;; Here are some additional functions/macros that could help you configure Doom: ;; ;; - `load!' for loading external *.el files relative to this one diff --git a/doom-emacs/.config/doom/init.el b/doom-emacs/.config/doom/init.el index c5e4403..4ae2263 100644 --- a/doom-emacs/.config/doom/init.el +++ b/doom-emacs/.config/doom/init.el @@ -34,7 +34,7 @@ hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW ;;hydra ;;indent-guides ; highlighted indent columns - (ligatures +extra) ; ligatures and symbols to make your code pretty again + ;;(ligatures +extra) ; ligatures and symbols to make your code pretty again ;;minimap ; show a map of the code on the side modeline ; snazzy, Atom-inspired modeline, plus API ;;nav-flash ; blink cursor line after big motions -- cgit v1.2.3