ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
2.02k stars 57 forks source link

The parameter is not highlighted when we use FixCursorHold.nvim together #192

Closed rockyzhang24 closed 2 years ago

rockyzhang24 commented 2 years ago

Recently I added a new plugin FixCursorHold.nvim and I found the parameter highlight feature stopped working.

Thank you.

WieeRd commented 2 years ago

Can confirm, this happens to me as well.
Parameter highlight works again after removing FixCursorHold.nvim

ray-x commented 2 years ago

From the explanation of FixCursorHold 1) signature using a timer of 200ms by default 2) signature is CursorHold to update statusline As it is not an essential feature you can disable by setting cursorhold_update to false.

WieeRd commented 2 years ago

After updating, the problem did get fixed by adding cursorhold_update = false. Thanks!

require("lsp_signature").setup({ cursorhold_update = false })