nixvim icon indicating copy to clipboard operation
nixvim copied to clipboard

[BUG] Test config for Alpha using terminal is throwing error

Open elythh opened this issue 1 year ago • 0 comments

Field Description
Plugin alpha.nvim

  • [X] I have read the FAQ and my bug is not listed there.

Description

Nixvim is throwing error when using the test Alpha config using terminal type

Minimal, Reproducible Example (MRE)

    plugins.alpha = {
      enable = true;
      layout = [
        {
          type = "terminal";
          command = "thisisfine";
          width = 46;
          height = 25;
          opts = {
            redraw = true;
          };
        }
      ];
    };

result

Error detected while processing VimEnter Autocommands for "*":
Error executing lua callback: ...dir/pack/myNeovimPackages/start/alpha-nvim/lua/alpha.lua:389: at
tempt to call a nil value
stack traceback:
        ...dir/pack/myNeovimPackages/start/alpha-nvim/lua/alpha.lua:389: in function 'layout'
        ...dir/pack/myNeovimPackages/start/alpha-nvim/lua/alpha.lua:629: in function 'draw'
        ...dir/pack/myNeovimPackages/start/alpha-nvim/lua/alpha.lua:723: in function 'start'
        ...dir/pack/myNeovimPackages/start/alpha-nvim/lua/alpha.lua:786: in function <...dir/pack
/myNeovimPackages/start/alpha-nvim/lua/alpha.lua:784>
Press ENTER or type command to continue

elythh avatar Apr 06 '24 13:04 elythh