Comment revision

This commit is contained in:
Henrik Lissner 2020-12-14 15:48:29 -05:00
parent 49f3bc193a
commit 9490d42cd3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 6 additions and 6 deletions

View file

@ -20,7 +20,7 @@
;; Don't generate superfluous files when writing temp buffers
(setq make-backup-files nil)
;; Stop user configuration from interfering with Doom
;; Stop user configuration from interfering with package management
(setq enable-dir-local-variables nil)

View file

@ -573,11 +573,11 @@ on."
highlight-indent-guides-mode
hl-fill-column-mode))
(defun doom-buffer-has-long-lines-p ()
;; HACK Fix #2183: `so-long-detected-long-line-p' tries to parse comment
;; syntax, but in some buffers comment state isn't initialized, leading
;; to a wrong-type-argument: stringp error.
(unless (bound-and-true-p visual-line-mode)
(let ((so-long-skip-leading-comments
;; HACK Fix #2183: `so-long-detected-long-line-p' tries to parse
;; comment syntax, but comment state may not be initialized,
;; leading to a wrong-type-argument: stringp error.
(bound-and-true-p comment-use-syntax)))
(so-long-detected-long-line-p))))
(setq so-long-predicate #'doom-buffer-has-long-lines-p))

View file

@ -20,7 +20,7 @@ directives. By default, this only recognizes C directives.")
;; Set these defaults before `evil'; use `defvar' so they can be changed prior
;; to loading.
(defvar evil-want-C-g-bindings t)
(defvar evil-want-C-i-jump nil)
(defvar evil-want-C-i-jump nil) ; we do this ourselves
(defvar evil-want-C-u-scroll t) ; moved the universal arg to <leader> u
(defvar evil-want-C-u-delete t)
(defvar evil-want-C-w-scroll t)

View file

@ -174,6 +174,6 @@ prevent the popup(s) from messing up the UI (or vice versa)."
;;
;; Hacks
;;; Hacks
(load! "+hacks")