ldelossa / gh.nvim

A fully featured GitHub integration for performing code reviews in Neovim.
MIT License
544 stars 26 forks source link

[Question] what is the 'select' option for? #86

Open greyHairChooseLife opened 1 year ago

greyHairChooseLife commented 1 year ago

To leave comment, I can box some code lines with visual mode, and execute :'<,'>GHCreateThread.

I don't know why I need options like these.

  -- if selectable, select the object under the cursor for additional operations.
  select = "gs",
  -- if selectable, clear all selected items.
  clear_selection = "gss",

What are they for? Or is there a tastier way to do?


And very relevant issue about it I guess, how can I select some deleted line to leave in comment? It just always fail.(dialog says 'Failed to create new comment')

I am sure it is possible. Because,