Commit graph

11 commits

Author SHA1 Message Date
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Henrik Lissner
d58d084774
tweak(:lang,:tools): start eglot/lsp-mode later
To ensure lsp/eglot settings have precedence over local servers (e.g.
cider and lookup handlers).

Ref: clojure-emacs/cider#3170
2022-03-30 17:32:47 +02:00
Henrik Lissner
958472b048 feat(beancount): add clone-transaction commands 2022-02-10 21:07:20 +01:00
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