Skip to content

Commit 7ba12ac

Browse files
committed
Wrap popups at word boundaries by default
1 parent 41e58a2 commit 7ba12ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

autoload/OmniSharp/popup.vim

+2
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ function! s:VimOpen(what, opts) abort
318318
endif
319319
" Prevent popup buffer from being listed in buffer list (`:ls`)
320320
call setbufvar(winbufnr(winid), '&buflisted', 0)
321+
" Make wrapping occur at word boundaries
322+
call setwinvar(winid, '&linebreak', 1)
321323
return winid
322324
endfunction
323325

0 commit comments

Comments
 (0)