anuvyklack / windows.nvim

Automatically expand width of the current window. Maximizes and restore it. And all this with nice animations!
MIT License
537 stars 15 forks source link

Can not find all commands #20

Closed lost22git closed 2 years ago

lost22git commented 2 years ago

Can not find all commands of the plugin

image

image

installed path

image

and i can not find the plugin by run :PackerStatus

anuvyklack commented 2 years ago

It seems, that the problem is on the packer side, because windows.nvim hadn't been loaded, hence no windows.nvim code been executed.

nicolimo86 commented 1 year ago

I have the same issue. Does it mean that this plugin can't be installed using Packer?

lost22git commented 1 year ago

@nicolimo86

maybe you need to rename windows.lua with another name if exists windows.lua in you config path

nicolimo86 commented 1 year ago

@lost22git I looked in couple of palces, and found something: find .config/nvim/ -iname "windows.lua" - no results.

find .local/ -iname "windows.lua" .local/share/nvim/site/pack/packer/start/nvim-lspconfig/lua/lspconfig/ui/windows.lua

Although, I'm not sure that plays a role for this particular problem. So, for what I understand I have some name conflict somewhere in my config (even if I don't see it, yet..). I'll try to isolate the issue in the limits of my possibilities. If you have any useful hint, please don't hesitate.

nicolimo86 commented 1 year ago

It was sufficient to perform a manual reload using :lua require('windows').setup() to see appearing all the commands in the execution bar. I specified the same command in my init.lua, and now everything looks as it should.