Skip to content

Commit

Permalink
fix(parinfer-rust): disable auto usage of fast strategy on long buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 18, 2024
1 parent 38ea84a commit 83a9b62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/me-emacs-lisp.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
(setq parinfer-rust-troublesome-modes (delq 'electric-pair-mode parinfer-rust-troublesome-modes))
(defvar-local +parinter-rust--was-enabled-p nil)

;; TEMP+BUG: Disable auto usage of fast strategy on long buffers
(remove-hook 'parinfer-rust-mode-hook 'parinfer-rust--auto-apply-fast-mode)

;; HACK: Disable `parinfer-rust-mode' on some commands.
(defun +parinter-rust--restore:after-a (&rest _)
(when +parinter-rust--was-enabled-p
Expand Down

0 comments on commit 83a9b62

Please sign in to comment.