lambdalisue / vim-gina

👣 Asynchronously control git repositories in Neovim/Vim 8
http://www.vim.org/scripts/script.php?script_id=5531
MIT License
689 stars 27 forks source link

Difficult error messages on command completion for invalid commands #204

Closed devth closed 5 years ago

devth commented 5 years ago

New gina user here. I'm trying latest on neovim.

When I typed :Gina-stat and hit <tab> I get this error:

:Gina-stat...                                                                                                                                                                                                                                   
Error detected while processing function gina#command#complete[15]..gina#core#revelator#call[1]..<SNR>234_call:                                                                                                                                 
line    4:                                                                                                                                                                                                                                      
E117: Unknown function: gina#command##complete                                                                                                                                                                                                  
:Gina-statu...                                                                                                                                                                                                                                  
E117: Unknown function: gina#command##complete                                                                                                                                                                                                  
:Gina-statu                                     
lambdalisue commented 5 years ago

Ah, well the correct command is :Gina status rather than :Gina-status (Vim's help tag cannot contains whitespaces so - is used in tag). But the message should be more user-friendly I guess. I'll check it 👍