Skip to content

Support option "name_..." #672

@Tidschimon

Description

@Tidschimon

Hey there,
first of all: I love the effort you guys put into this!
A little bit of background to this issue:
I am from Germany and I am currently migrating from gnucash to beancount.
Therefore my ledger uses German top-level account names:

  • Assets -> Aktiva
  • Liabilities -> Verbindlichkeiten
  • Income -> Erträge
  • Expenses -> Aufwendungen

To account for that, I am using the "name_assets",... options to rename the top-level accounts.
I noticed in neovim, however, that the language server does not provide autocomplete suggestions for these renamed account names.

Good version

2025-10-28 open Assets:Testabc EUR
2025-10-28 open Expenses:Test EUR

2025-10-28 * "Shopping"
  Assets:Testabc  -50 EUR
  Expenses:Test

Bad version

option "name_assets" "Aktiva"
option "name_expenses" "Aufwendungen"

2025-10-28 open Aktiva:Testabc EUR
2025-10-28 open Aufwendungen:Test EUR

2025-10-28 * "Shopping"
  Aktiva:Testabc  -50 EUR
  Aufwendungen:Test

In the good version everything works as expected. Bean-check is happy and I get autocompletion suggestions.
In the bad version, however, bean-check is also happy but I do not get autocompletion suggestions in the listings.

So, I think the language server currently is not respecting the renaming options, which I would much appreciate if it did :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions