summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoa2025-02-16 21:48:23 +0800
committernoa2025-02-16 21:48:23 +0800
commit3b9caec342aff429df5f3e0157436696298774da (patch)
treed6da8899b297d43d1b2b8bb9c59d4b68341bc52a
parentab4b108beb09c813761056aab4c3fd9a8dfd0d81 (diff)
Move double space config into use-package
-rw-r--r--emacs/init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 362787e..37abb6f 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -526,7 +526,11 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
(if (apply #'derived-mode-p space-indent-modes) nil t))))
;; Make sentence navigation commands work for people who are wrong
-(setopt sentence-end-double-space nil)
+;; NOTE: paragraphs does not provide itself
+(use-package paragraphs
+ :disabled t
+ :custom
+ (sentence-end-double-space nil))
;; If i write a script, i will always run chmod +x after saving it. This command means i don't have to do that.
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)