Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(coc#has_item_selected) #5067

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

Kaiser-Yang
Copy link
Contributor

I find that coc#pum#visible use getwinvar(s:pum_winid, 'float', 0) == 1 to check the window. So using s:pum_winid == -1 may cause problems, now use coc#pum#visible() to check if the pum is visible.

I find that `coc#pum#visible` use `getwinvar(s:pum_winid, 'float', 0) ==
1` to check the window. So using `s:pum_winid == -1` may cause problems,
now use `coc#pum#visible()` to check if the `pum` is visible.
Copy link

codecov bot commented Jun 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.51%. Comparing base (b37b3e0) to head (5c123c6).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5067   +/-   ##
=======================================
  Coverage   98.51%   98.51%           
=======================================
  Files         273      273           
  Lines       26084    26084           
  Branches     5390     5390           
=======================================
  Hits        25697    25697           
  Misses        227      227           
  Partials      160      160           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fannheyward fannheyward merged commit bdf2fa4 into neoclide:master Jun 28, 2024
4 checks passed
fannheyward added a commit that referenced this pull request Jul 4, 2024
5663297 feat(core): support NVIM_APPNAME (#5073)
bdf2fa4 fix(coc#has_item_selected): check pum visible (#5067)
b37b3e0 feat(coc#pum#has_item_selected) (#5064)
bdfd169 feat(inlayHint): add `inlayHint.position` configuration
e4abae7 feat(typings): more options in NvimFloatOptions (#5058)
b3cbba4 feat(extension): allow `CocUpdate` UI open in tab (#5050)
3a0980f chore(packages): eslint related (#5048)
79ccfea fix(diagnostic): stack hl groups (#5046)
974b9c8 fix(package): npm audit fix (#5041)
c054573 fix(workspace): add missing interface to renamed method (#5032)
ba3c0a9 feat!: increase minimum vim/nvim versions (#5026)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants