From 4fa3bb49509d48b82b53eff910d0a20d484c87e0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 30 Apr 2025 03:47:20 -0400 Subject: [PATCH] feat(beancount): add eval handler Allows interop with the :tools eval module. Evaluating regions will now invoke `bean-doctor region ...` on the selection. --- modules/lang/beancount/config.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/lang/beancount/config.el b/modules/lang/beancount/config.el index fa98b3127..536589741 100644 --- a/modules/lang/beancount/config.el +++ b/modules/lang/beancount/config.el @@ -11,6 +11,8 @@ '(beancount-mode nerd-icons-faicon "nf-fa-money" :face nerd-icons-lblue))) :config + (set-eval-handler! 'beancount-mode #'beancount-region-default) + (setq beancount-electric-currency t) (when (modulep! +lsp)