From 75da5a474e26f19f7334c38e6547acbb130b5508 Mon Sep 17 00:00:00 2001 From: Boris Staletic Date: Sun, 4 Aug 2024 15:27:43 +0200 Subject: [PATCH] Allow soft-wrapping of lines in the signature help window This looks ugly, but at least no data is lost due to lines going off screen. --- python/ycm/signature_help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ycm/signature_help.py b/python/ycm/signature_help.py index 22ba1d5ca4..fe0510b07b 100644 --- a/python/ycm/signature_help.py +++ b/python/ycm/signature_help.py @@ -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