From 2ccc69dd5edfb8898a386cf33e61cc435cca6a27 Mon Sep 17 00:00:00 2001 From: tecosaur <20903656+tecosaur@users.noreply.github.com> Date: Fri, 10 Jan 2020 02:04:23 +0800 Subject: [PATCH] 2nd half of 'make flyspell less annoying' --- config.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.org b/config.org index df0ecfe..09afd0a 100644 --- a/config.org +++ b/config.org @@ -294,6 +294,13 @@ for ~GFM~, otherwise let's just use ~markdown~. ) (add-hook 'ea-popup-hook 'ea-popup-handler) #+END_SRC +** Flyspell +At one point, typing became noticably laggy, Profiling revealed +~flyspell-post-command-hook~ was responsible for 47% of CPU cycles by itself! +So I'm going to make use of ~flyspell-lazy~ +#+BEGIN_SRC emacs-lisp +(after! flyspell (require 'flyspell-lazy) (flyspell-lazy-mode 1)) +#+END_SRC * Language configuration ** Org Mode *** Basic config