Skip to content

Commit 230608a

Browse files
authored
[beancount] Fix lsp-beancount-journal-file (#4702)
* nit(beancount): fix whitespace * fix(beancount): update journal file init option v1.0.0 of beancount-language-server rewrote everything in Rust (formerly TypeScript), and, as part of the major version, changed the journal file init option from camel case to snake case. See: polarmutex/beancount-language-server#34 Ref: d4fb18c * doc: update changelog Ref: 0657c7f
1 parent e1857fd commit 230608a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
* Changelog
22
** Unreleased 9.0.1
3+
* Fix beancount journal file init option
34
* Add support for [[https://github.com/glehmann/earthlyls][earthlyls]]
45
* Add support for GNAT Project (~gpr-mode~, ~gpr-ts-mode~).
56
* Add SQL support

clients/lsp-beancount.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ Use nil (the default) to use the current beancount buffer as the journal file."
5252
:new-connection
5353
(lsp-stdio-connection
5454
(lambda ()
55-
`(,lsp-beancount-langserver-executable "--stdio")))
55+
`(,lsp-beancount-langserver-executable "--stdio")))
5656
:major-modes '(beancount-mode)
5757
:initialization-options
58-
`((journalFile . ,lsp-beancount-journal-file))
58+
`((journal_file . ,lsp-beancount-journal-file))
5959
:server-id 'beancount-ls))
6060

6161
(lsp-consistency-check lsp-beancount)

0 commit comments

Comments
 (0)