Working on completion engine

This commit is contained in:
2025-09-19 13:57:37 -04:00
parent e3a19d78b5
commit 0b240bf871
2 changed files with 79 additions and 56 deletions

View File

@@ -44,23 +44,32 @@ vim.lsp.enable('basedpyright', {
require("lsp_signature").setup({
debug = false,
bind = true,
doc_lines = 10,
max_height = 12,
max_width = function() return math.floor(vim.api.nvim_win_get_width(0) * 0.8) end,
-- doc_lines = 10,
-- max_height = 12,
-- max_width = function() return math.floor(vim.api.nvim_win_get_width(0) * 0.8) end,
doc_lines = 5,
max_height = 8,
max_width = function() return math.floor(vim.api.nvim_win_get_width(0) * 0.7) end,
wrap = true,
floating_window = true,
floating_window_above_cur_line = true,
-- floating_window_above_cur_line = true,
-- floating_window_off_y = 0,
floating_window_above_cur_line = false,
floating_window_off_x = 1,
floating_window_off_y = 0,
hint_enable = true,
floating_window_off_y = 1,
-- hint_enable = true,
hint_enable = false,
hint_inline = function() return false end,
hint_prefix = "🐼 ",
-- hint_prefix = "🐼 ",
hint_prefix = "",
hint_scheme = "String",
hi_parameter = "LspSignatureActiveParameter",
handler_opts = { border = "rounded" },
always_trigger = false,
auto_close_after = 5,
extra_trigger_chars = { "(", "," },
zindex = 200,
-- zindex = 200,
zindex = 50,
padding = "",
timer_interval = 200,
})