mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor(beancount): don't complete commodities from prices
Auto-generates price files are a common feature among beancount users;
scanning them is a lot of unnecessary work when just reading commodity
directives (and operating_currency options) should be more than enough.
Amend: 5df769e994
This commit is contained in:
@ -197,7 +197,6 @@ will theirs, recursively)."
|
||||
(+beancount-completion-table
|
||||
(concat "^\\(?:" beancount-date-regexp
|
||||
"\\s-+commodity\\s-+\\|"
|
||||
beancount-date-regexp "\\s-+price\\s-+\\|"
|
||||
"option\\s-+\"operating_currency\"\\s-+\""
|
||||
"\\)\\(" beancount-currency-regexp "\\)")
|
||||
1 'commodities))))))))
|
||||
|
Reference in New Issue
Block a user