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

Avoid nvim_win_get_position for window position to support multigrid ui #3150

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix float window position control to consider multigrid ui
  • Loading branch information
akiyosi committed Jun 19, 2021
commit b21da2e0246576e19e01cc89cadaf94e1e94f44d
2 changes: 1 addition & 1 deletion autoload/coc/float.vim
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function! coc#float#nvim_scrollbar(winid) abort
return
endif
let config = nvim_win_get_config(a:winid)
let [row, column] = nvim_win_get_position(a:winid)
let [row, column] = [config.row, config.col]
let width = nvim_win_get_width(a:winid)
let height = nvim_win_get_height(a:winid)
let bufnr = winbufnr(a:winid)
Expand Down