Skip to content

Commit

Permalink
Wrap popups at word boundaries by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nickspoons committed Oct 13, 2023
1 parent 41e58a2 commit 7ba12ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autoload/OmniSharp/popup.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7ba12ac

Please sign in to comment.