-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workaround(lsp-signature)!: fix input delay of nvim-cmp (#840)
- Loading branch information
Showing
4 changed files
with
21 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
return function() | ||
require("lsp_signature").setup({ | ||
bind = true, | ||
-- TODO: Remove the following line when nvim-cmp#1613 gets resolved | ||
check_completion_visible = false, | ||
floating_window = true, | ||
floating_window_above_cur_line = true, | ||
hi_parameter = "Search", | ||
hint_enable = true, | ||
transparency = nil, -- disabled by default, allow floating win transparent value 1~100 | ||
wrap = true, | ||
zindex = 45, -- avoid overlap with nvim.cmp | ||
handler_opts = { border = "single" }, | ||
}) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters