Comment revision
This commit is contained in:
parent
49f3bc193a
commit
9490d42cd3
4 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -174,6 +174,6 @@ prevent the popup(s) from messing up the UI (or vice versa)."
|
|||
|
||||
|
||||
;;
|
||||
;; Hacks
|
||||
;;; Hacks
|
||||
|
||||
(load! "+hacks")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue