From 50580aeea5de053ae9adc0290b4f9a9dd36f8649 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Mon, 8 Apr 2024 11:45:43 +0100 Subject: [PATCH] Add flyspell to the org-mode --- lisp/fg42/autocomplete.el | 4 ++++ lisp/fg42/modeline.el | 2 +- lisp/fg42/org.el | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/fg42/autocomplete.el b/lisp/fg42/autocomplete.el index 3ae26a1..283cbb8 100644 --- a/lisp/fg42/autocomplete.el +++ b/lisp/fg42/autocomplete.el @@ -43,6 +43,10 @@ (setq company-dabbrev-downcase nil) :config + (setq-default company-backends + '((company-capf :with company-yasnippet) :separate + (company-keywords company-dabbrev company-ispell) :separate + company-files)) (bind-key [remap completion-at-point] #'company-complete company-mode-map)) diff --git a/lisp/fg42/modeline.el b/lisp/fg42/modeline.el index 5851869..1db1188 100644 --- a/lisp/fg42/modeline.el +++ b/lisp/fg42/modeline.el @@ -61,7 +61,7 @@ to Emacs modeline." (require 'noether-views) (let ((active-border (get-base16-color-or :base0A "#bd93f9")) - (inactive-border (get-base16-color-or :base04 "#44475a"))) + (inactive-border (get-base16-color-or :base03 "#44475a"))) (set-face-attribute 'fg42/-disabled-modeline-active-border nil :background active-border) (set-face-attribute 'fg42/-disabled-modeline-dective-border nil :background inactive-border)) diff --git a/lisp/fg42/org.el b/lisp/fg42/org.el index 373c605..220c22e 100644 --- a/lisp/fg42/org.el +++ b/lisp/fg42/org.el @@ -110,6 +110,7 @@ literate programming, maintaining to-do lists, planning projects, and more — i and effective plain text system. For more info on ~org-mode~ check out `https://orgmode.org/'" + :hook (org-mod . flyspell-mode) :init (setq org-auto-align-tags nil