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

Question: Using company-ledger with org-mode ledger source blocks #3

Open
santoshs opened this issue Jun 4, 2022 · 1 comment
Open

Comments

@santoshs
Copy link

santoshs commented Jun 4, 2022

I use ledger in a org-file, with one ledger source block per month. When I edit a source block, I get completions for that buffer. I know that's how company-ledger is designed to work. But any workarounds or ideas to get completions from other source blocks too?

@debanjum
Copy link
Owner

Apologize for the delayed reply, I just noticed this issue! 🙈

Interesting to know your use-case of using ledger via code blocks in org-mode. As you noticed company-ledger hasn't been designed for that use-case (yet).

Possible ideas to try for getting completion from other ledger source blocks:

  1. Tangle the ledger blocks into a single file
  2. Use a shared session for all your ledger source blocks

I'll post back if I can think of other ideas to try support this use-case

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

2 participants