coc-explorer icon indicating copy to clipboard operation
coc-explorer copied to clipboard

git icon does not change in real time

Open konart opened this issue 4 years ago • 4 comments

Not sure if this is a bug, considering README does not really says that git icons should update in realtime.

But as of now on a filechange I see only a "+" sign next to a modified filename. The default "M" icon will appear only after switching explorer off and on again.

CocInfo:

## versions

vim version: NVIM v0.4.3
node version: v14.2.0
coc.nvim version: 0.0.78-3f305ac739
term: iTerm.app
platform: darwin

## Output channel: explorer


## Output channel: prettier

CocOpenLog:

2020-05-14T19:01:05.357 INFO (pid:62701) [services] - registered service "languageserver.golang"
2020-05-14T19:01:05.595 INFO (pid:62701) [plugin] - coc 0.0.78-3f305ac739 initialized with node: v14.2.0

Not sure if related, but lsp icons are also missing

screenshot

konart avatar May 14 '20 16:05 konart

git icon only change when file saved

weirongxu avatar May 14 '20 16:05 weirongxu

Yeah, that's what I though. Does not work either

screenshot

You have to toggle it off an on to see the icon.

konart avatar May 14 '20 17:05 konart

But I see that your screenshot still has "+" sign, which means you have not saved the file to system.

weirongxu avatar May 14 '20 18:05 weirongxu

Maybe this is another bug then? Because this screenshot is taken after :w, you can see status message at the bottom: "... written"

Also I have a pencil icon for "dirty" files as can be seen in the first screenshot (tab bar at the top), but not the second one.

Short vid, just in case: https://streamable.com/uioi5m

konart avatar May 15 '20 06:05 konart