gh.nvim icon indicating copy to clipboard operation
gh.nvim copied to clipboard

Hide gutter icon?

Open cj opened this issue 3 years ago • 8 comments

Hey - thank you for this awesome plugin!

How do you hide the gutter icon?

image

cj avatar Aug 04 '22 04:08 cj

hey @cj what are you attempting to do?

The gutter icons are showing you where comments are and comments can be created. The gh.nvim UI doesn't provide an option to hide these, are they are key information on how the diff view works.

You can always hide the sign column with a the vim native setting.

ldelossa avatar Aug 04 '22 12:08 ldelossa

@ldelossa I was trying to get the Lsp error icon to show instead image

Do you know how to remove the underline while in a Diff? It doesn't appear to be a highlight.

cj avatar Aug 05 '22 02:08 cj

@cj do you have set cursorline on?

I never get this underline in my diffs unless I have set cursorline enabled and your cursor is on top of a line that is colored by DiffAdd or DiffRemove

ldelossa avatar Aug 05 '22 13:08 ldelossa

@ldelossa, that was it. I am not sure what was setting it. THANK YOU!

I can open a new ticket for this, but I have been running into an issue where I'll randomly get this error image and then all files I load after are blank image

I have to then restart nvim for gh.nvim to work again.

cj avatar Aug 05 '22 16:08 cj

@cj your error would suggest that something is clearing your /tmp folder out during operation.

ldelossa avatar Aug 05 '22 17:08 ldelossa

@ldelossa I changed my TMPDIR location to make sure that wasn't the case and it still happened:

image image

cj avatar Aug 08 '22 15:08 cj

The above is a different error message. Json decode error means the gh api didnt return valid json to you.

Id ensure everthing works with a public repository first, try checking out neovim's code and opening gh.nvim, listing prs, and seeing if they open.

ldelossa avatar Aug 08 '22 16:08 ldelossa

@cj I just merged: https://github.com/ldelossa/gh.nvim/pull/63

you can now enable CLI debugging, this may help you troubleshoot further. We should be able to see the exact command thats failing.

ldelossa avatar Aug 10 '22 23:08 ldelossa