Skip to content

Commit

Permalink
fix float window position control to consider multigrid ui (#3150)
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyosi authored Jun 21, 2021
1 parent 046505c commit 837941f
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 837941f

Please sign in to comment.