Skip to content

Commit 5058210

Browse files
committed
Wrap popups at word boundaries by default
1 parent 14db0b5 commit 5058210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

autoload/OmniSharp/popup.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,8 @@ function! s:VimOpen(what, opts) abort
322322
endif
323323
" Prevent popup buffer from being listed in buffer list (`:ls`)
324324
call setbufvar(winbufnr(winid), '&buflisted', 0)
325+
" Make wrapping occur at word boundaries
326+
call setwinvar(winid, '&linebreak', 1)
325327
return winid
326328
endfunction
327329

0 commit comments

Comments
 (0)