Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting doesn't support inline arithmetic expressions #104

Open
sclu1034 opened this issue May 29, 2024 · 0 comments
Open

Highlighting doesn't support inline arithmetic expressions #104

sclu1034 opened this issue May 29, 2024 · 0 comments

Comments

@sclu1034
Copy link

As documented at https://beancount.github.io/docs/beancount_language_syntax.html#transactions, Beancount supports basic arithmetic in postings, like

2014-10-05 * "Costco" "Shopping for birthday"
  Liabilities:CreditCard:CapitalOne         -45.00          USD
  Assets:AccountsReceivable:John            ((40.00/3) + 5) USD
  Assets:AccountsReceivable:Michael         40.00/3         USD
  Expenses:Shopping

However, the highlighter assigns a scope of invalid.illegal.unrecognized.beancount to these expressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant