diff --git a/autoload/coc/dialog.vim b/autoload/coc/dialog.vim index 5455c13cc83..4569311b362 100644 --- a/autoload/coc/dialog.vim +++ b/autoload/coc/dialog.vim @@ -104,6 +104,7 @@ function! coc#dialog#create_cursor_float(winid, bufnr, lines, config) abort let alignTop = dimension['row'] < 0 let winid = res[0] let bufnr = res[1] + call coc#compat#execute(winid, 'setl nonumber') redraw if has('nvim') call coc#float#nvim_scrollbar(winid)