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

[BUG] Error with ledger mode #2123

Open
1 task done
brianmay opened this issue Aug 31, 2024 · 2 comments
Open
1 task done

[BUG] Error with ledger mode #2123

brianmay opened this issue Aug 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@brianmay
Copy link

Field Description
Plugin ledger
Nixpkgs 24.05
Home Manager 24.05
  • I have read the FAQ and my bug is not listed there.

Description

With this config:

 plugins = {
      ledger = {
        enable = true;
        settings = {
          bin = "${pkgs.ledger}/bin/ledger";
          is_hledger = false;
        };
      };
    };

Open a ledger, and type in :Reconcile account.

This comes up wit the message:

E121: Undefined variable: b:is_hledger

I have tried to set this value with the following :let b:is_hledger v:false but it doesn't seem to help.

I see this issue, not 100% sure if it is the same or not, I only get that one error: ledger/vim-ledger#143

@brianmay brianmay added the bug Something isn't working label Aug 31, 2024
@khaneliman
Copy link
Contributor

Not familiar with this plugin, but is the gist of the issue that it needs to be loaded after a specific option/setting is defined? I see you're on 24.05, does it exhibit the same behavior on unstable?

@brianmay
Copy link
Author

Not familiar with this plugin, but is the gist of the issue that it needs to be loaded after a specific option/setting is defined?

I am not familiar with this plugin or nvim config either. But thought I would try this plugin in case it is better then the emacs one. I suspect maybe not. This plugin seems to be show numbers that don't make a lot of sense, not sure how much of that is due to this error.

I see you're on 24.05, does it exhibit the same behavior on unstable?

Yes, I got the same behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants