Skip to content

Commit

Permalink
Allow soft-wrapping of lines in the signature help window
Browse files Browse the repository at this point in the history
This looks ugly, but at least no data is lost due to lines going off
screen.
  • Loading branch information
bstaletic committed Aug 4, 2024
1 parent b5fe27b commit 75da5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ycm/signature_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def UpdateSignatureHelp( state, signature_info ): # noqa

active_signature = int( signature_info.get( 'activeSignature', 0 ) )
vim.eval( f"win_execute( { state.popup_win_id }, "
f"'set syntax={ syntax } cursorline | "
f"'set syntax={ syntax } cursorline wrap | "
f"call cursor( [ { active_signature + 1 }, 1 ] )' )" )

return state

0 comments on commit 75da5a4

Please sign in to comment.