Add redisplay-skip-fontification-on-input
This commit is contained in:
@@ -1400,11 +1400,6 @@ fc-list : family | sed 's/,/\n/g' | sort -u
|
|||||||
(setq vc-make-backup-files t)
|
(setq vc-make-backup-files t)
|
||||||
(setq kept-old-versions 10)
|
(setq kept-old-versions 10)
|
||||||
(setq kept-new-versions 10)
|
(setq kept-new-versions 10)
|
||||||
|
|
||||||
;; Improve Emacs responsiveness by deferring fontification during input
|
|
||||||
;;
|
|
||||||
;; NOTE: This may cause delayed syntax highlighting in certain cases
|
|
||||||
(setq redisplay-skip-fontification-on-input t)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
It is also recommended to read the following articles:
|
It is also recommended to read the following articles:
|
||||||
|
|||||||
6
init.el
6
init.el
@@ -261,6 +261,12 @@
|
|||||||
window-divider-default-places t
|
window-divider-default-places t
|
||||||
window-divider-default-right-width 1)
|
window-divider-default-right-width 1)
|
||||||
|
|
||||||
|
;;; Fontification
|
||||||
|
|
||||||
|
;; Disable fontification during user input to reduce lag in large buffers.
|
||||||
|
;; Also helps marginally with scrolling performance.
|
||||||
|
(setq redisplay-skip-fontification-on-input t)
|
||||||
|
|
||||||
;;; Scrolling
|
;;; Scrolling
|
||||||
|
|
||||||
;; Enables faster scrolling. This may result in brief periods of inaccurate
|
;; Enables faster scrolling. This may result in brief periods of inaccurate
|
||||||
|
|||||||
Reference in New Issue
Block a user