From 980b3730f179aef977f56482dea0c0f8aca88c9b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 11 May 2021 16:57:42 -0400 Subject: [PATCH] lang/beancount: fix beancount-mode+lsp support Mentioned in #5035 --- modules/lang/beancount/config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/lang/beancount/config.el b/modules/lang/beancount/config.el index dfd0696bb..e341ab2c2 100644 --- a/modules/lang/beancount/config.el +++ b/modules/lang/beancount/config.el @@ -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)