Commit graph

8 commits

Author SHA1 Message Date
Henrik Lissner
fb8d540422 refactor!(beancount): disable explicit currency
BREAKING CHANGE: If `beancount-electric-currency` is non-nil, the
currency is appended to transactions, falling back to the ledger's
"operating_currency" option, even in cases where a currency was not
explicitly needed (e.g. only one currency specified for an account).
After receiving input from beancount-mode's author, I reconsidered its
utility and decided to remove it.

Ref beancount/beancount-mode#19
2021-09-30 15:07:21 +02:00
Henrik Lissner
3d302c3304 bump: :lang beancount
beancount/beancount-mode@dbafe6a73d -> beancount/beancount-mode@ea8257881b

Some of our local changes were upstreamed.

Ref beancount/beancount-mode#17
Ref beancount/beancount-mode#18
2021-09-30 15:06:34 +02:00
Henrik Lissner
a760c679a3 lang/beancount: remove redundant lsp config
lsp-beancount support was added upstream in emacs-lsp/lsp-mode@b294e74
2021-07-13 14:38:34 -04:00
Henrik Lissner
5fca440beb lang/beancount: add beancount-langserver support
Mentioned in #5035.
Remove when emacs-lsp/lsp-mode#2863 is resolved.
2021-05-11 17:57:21 -04:00
Henrik Lissner
980b3730f1 lang/beancount: fix beancount-mode+lsp support
Mentioned in #5035
2021-05-11 17:00:11 -04:00
Henrik Lissner
febe4a7403 Fix #5035: assocate *.beancount with beancount-mode
Otherwise, use-package implicitly associates *.beancount with
a function called `beancount`, which does not exist.
2021-05-11 16:22:00 -04:00
Henrik Lissner
ebc5a5ff1e lang/beancount: fix config & more electricity
+ Adds electric alignment of amounts on RET
+ Fixes all of beancount's config (which was running because the package
  is called beancount, not beancount-mode)
+ Fixes flood of "invalid face org-level-N" warnings
+ Fixes beancount-electric-currency for appending currency to unlabelled
  amounts. Also enables this to fall back to first operating_currency in
  document, in available
+ Binds TAB to beancount-outline-cycle on outline heading, otherwise
  indent-according-to-mode. No need for completion popup when company
  already provides this.
2021-04-15 14:19:18 -04:00
Henrik Lissner
8a083d1370 Add :lang beancount module 2021-04-14 23:31:13 -04:00