Skip to content

Commit

Permalink
Don't balance parens in insert mode for tree sitter buffers
Browse files Browse the repository at this point in the history
This seems to be better default behavior for tree-sitter buffers than
maintaining the balancing behavior that's desirable in Lisp.

Workaround (fix?) for #142.
  • Loading branch information
countvajhula committed Jul 21, 2024
1 parent 6ef879c commit fe45b0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion symex.el
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@

(defun symex-enter-mode ()
"Take necessary action upon symex mode entry."
(symex--ensure-minor-mode)
(when (member major-mode (symex-get-lisp-modes))
(symex--ensure-minor-mode))
(symex--adjust-point-on-entry)
(when symex-remember-branch-positions-p
(symex--clear-branch-memory))
Expand Down

0 comments on commit fe45b0b

Please sign in to comment.