Git Product home page Git Product logo

Comments (11)

FeiyouG avatar FeiyouG commented on June 28, 2024 1

I just pushed a new commit e61162c. Please let me know whether this fixes the problem.

from commander.nvim.

pidgeon777 avatar pidgeon777 commented on June 28, 2024 1

@FeiyouG Fixed! 🚀

@danielo515 I don't have your floating window issue.

from commander.nvim.

danielo515 avatar danielo515 commented on June 28, 2024

Facing the same exact problem.

packer.nvim: Error running config for command-center.nvim: ...cker/opt/command-center.nvim/lua/command_center/init.lua:37: attempt to index local 'opts' (a number value)

from commander.nvim.

danielo515 avatar danielo515 commented on June 28, 2024

Hello @FeiyouG , that fixes the original problem.
However, now the floating window appears too small:
image

Other telescope prompts do not have this problem:

image

from commander.nvim.

FeiyouG avatar FeiyouG commented on June 28, 2024

I don't have this problem at my end. Can you share a minimal config that can reproduce this bug?

from commander.nvim.

danielo515 avatar danielo515 commented on June 28, 2024

Here you have it @FeiyouG
https://github.com/danielo515/Telescope-command-center-issue
You may need to clone it with git submodules or just remove the deeply nested packer folder and clone packer into it

from commander.nvim.

FeiyouG avatar FeiyouG commented on June 28, 2024

@danielo515 From what you've shared with me, I don't see you added any commands into command_center. The floating window is too narrow because there was nothing to be displayed.

from commander.nvim.

XobSod avatar XobSod commented on June 28, 2024

I have the same issue as @danielo515 has.
I have copied all your example from command_center.add and even removed , command_center.mode.REGISTER_ONLY from:

command_center.add({
  {
    desc = "Open command_center",
    cmd = "<CMD>Telescope command_center<CR>",
    keys = {
      {"n", "<Leader>fc", noremap},
      {"v", "<Leader>fc", noremap}
    },
  }
})

And I also have narrow palette:
image
And the commands are definitively there because I can scroll through them ;)
image

from commander.nvim.

FeiyouG avatar FeiyouG commented on June 28, 2024

I found the root cause and fixed it in 125b923. Thank you for bringing this to my attention, @XobSod and @danielo515.

from commander.nvim.

danielo515 avatar danielo515 commented on June 28, 2024

Thank you for all the effort and quickfixes put into this!!!!
I'll try it tomorrow. Many thanks!

from commander.nvim.

danielo515 avatar danielo515 commented on June 28, 2024

Ok, I couldn't wait and just updated. The problem is totally fixed for me. Many thanks!

from commander.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.