pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.28k stars 125 forks source link

Completion not working as expected #347

Open aldevv opened 1 year ago

aldevv commented 1 year ago

Issue Description

Type: bug report

Describe what happened (or what feature you want)

when I type Octo pr and press tab to get completions, I don't get the actions, I only get the objects again, once I select an object twice, then I get the actions, but then I end up with a command looking like: Octo pr pr list

Describe what you expected to happen

When I type Octo pr and press tab I expect actions to appear in the completion menu, not objects (since pr is already there)

How to reproduce it (as minimally and precisely as possible)

just install Octo with packer, with no other configuration using neovim version 0.9 nightly

  1. Install neovim 0.9.0 nightly
  2. Install Packer
  3. Install Octo
  4. type Octo pr
  5. press tab

Tell us your environment

Ubuntu Linux

Anything else we need to know?

no

pwntester commented 1 year ago

Cannot reproduce sorry. Are you using anything like nvim-cmp? Also, do you press tab after pr or pr<space>?

aldevv commented 1 year ago

I'm getting this with a clean build and no conf, running nvim with nvim -u NORC, so yeah, just packer and octo installed, no nvim-cmp and I do use tab, getting this in neovim-nightly v0.9.0-dev