File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 5151 (parinfer-rust-mode -1 )
5252 (+info! " Disabled `parinfer-rust-mode' " )))
5353
54- ; ; Fix the issue of `vundo' (related to `track-changes' ) when exploring the undo tree
54+ ; ; HACK: When we insert a space at the end on an s-expression in
55+ ; ; `multiple-cursors' , it gets added only at the real cursor.
56+ ; ; `parinfer-rust-mode' prevents the others from being added. Lets fix this by
57+ ; ; disabling `parinfer-rust-mode' when working with `multiple-cursors'
58+ (with-eval-after-load 'multiple-cursors
59+ (add-hook 'multiple-cursors-mode-enabled-hook #'+parinfer-rust--disable )
60+ (add-hook 'multiple-cursors-mode-disabled-hook #'+parinfer-rust--restore ))
61+
62+ ; ; HACK: Fix the issue of `vundo' (related to `track-changes' ) when exploring
63+ ; ; the undo tree
5564 (with-eval-after-load 'vundo
5665 (add-hook 'vundo-pre-enter-hook #'+parinfer-rust--disable )
5766 (add-hook 'vundo-post-exit-hook #'+parinfer-rust--restore )))
You can’t perform that action at this time.
0 commit comments