From aa41740449e6bd92ffb9ca906a017f1771d9e046 Mon Sep 17 00:00:00 2001 From: Nick Jensen Date: Mon, 24 Apr 2023 14:22:08 +1200 Subject: [PATCH] Wrap popups at word boundaries by default --- autoload/OmniSharp/popup.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/OmniSharp/popup.vim b/autoload/OmniSharp/popup.vim index a684277ef..479a4d6d9 100644 --- a/autoload/OmniSharp/popup.vim +++ b/autoload/OmniSharp/popup.vim @@ -318,6 +318,8 @@ function! s:VimOpen(what, opts) abort endif " Prevent popup buffer from being listed in buffer list (`:ls`) call setbufvar(winbufnr(winid), '&buflisted', 0) + " Make wrapping occur at word boundaries + call setwinvar(winid, '&linebreak', 1) return winid endfunction