perf(org): disable auto-reformat/update for tables/cookies

These two can *significantly* slow down larger org buffers for evil
users, when switching modes (e.g. leaving insert/replace mode), so I am
removing these if/when I find a better alternative. Though, they can
still be done manually with `C-c C-c` (for cookies) and `TAB` in tables.
This commit is contained in:
Henrik Lissner 2023-02-25 20:43:17 -05:00
parent c1c966c811
commit 6471690782
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -1350,8 +1350,8 @@ between the two."
#'doom-disable-show-paren-mode-h
;; disable `show-trailing-whitespace'; shows a lot of false positives
#'doom-disable-show-trailing-whitespace-h
#'+org-enable-auto-reformat-tables-h
#'+org-enable-auto-update-cookies-h
;; #'+org-enable-auto-reformat-tables-h
;; #'+org-enable-auto-update-cookies-h
#'+org-make-last-point-visible-h)
(add-hook! 'org-load-hook