feat(beancount): add eval handler

Allows interop with the :tools eval module. Evaluating regions will now
invoke `bean-doctor region ...` on the selection.
This commit is contained in:
Henrik Lissner
2025-04-30 03:47:20 -04:00
parent 440e952056
commit 4fa3bb4950

View File

@ -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)