lang/beancount: fix beancount-mode+lsp support

Mentioned in #5035
This commit is contained in:
Henrik Lissner 2021-05-11 16:57:42 -04:00
parent 926ba626b7
commit 980b3730f1

View file

@ -29,6 +29,9 @@ This msut be advised *before* beancount-mode loads, because
:config
(when (featurep! +lsp)
(after! lsp-mode
;; TODO PR this upstream
(add-to-list 'lsp-language-id-configuration '(beancount-mode . "beancount")))
(add-hook 'beancount-mode-local-vars-hook #'lsp!))
(setq beancount-electric-currency t)