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

Does autocompletion work for account names with spaces? #124

Open
Flimm opened this issue Sep 15, 2021 · 1 comment
Open

Does autocompletion work for account names with spaces? #124

Flimm opened this issue Sep 15, 2021 · 1 comment

Comments

@Flimm
Copy link
Contributor

Flimm commented Sep 15, 2021

I'm using hledger, which support account names with spaces in them. It seems to me that this plugin, vim-ledger, doesn't support account names with spaces in them. It will only only ever complete one word. Is this correct?

@alerque
Copy link
Member

alerque commented Sep 17, 2021

That sounds like it is probably true, at least when you use it for parsing it's own accounts. You might be able to get around this by having hledger or another command generate the list of completions (which this also supports).

I'd be happy to accept a PR that parsed the available account list the way ledger/hledger does.

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

No branches or pull requests

2 participants