From 7ba12ac01765712f30e5939c03000b1c74db5ecf 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