make lspsignature window float above the cursor to avoid cmp overlapping

special thanks to https://www.reddit.com/r/neovim/comments/vbsryc/comment/icehk2c/?utm_source=share&utm_medium=web2x&context=3
navigator
siduck 2 years ago
parent a7a6945f52
commit aabf8ca225

@ -18,7 +18,7 @@ autocmd("BufUnload", {
})
-- Don't auto commenting new lines
autocmd('BufEnter', {
pattern = '*',
command = 'set fo-=c fo-=r fo-=o'
autocmd("BufEnter", {
pattern = "*",
command = "set fo-=c fo-=r fo-=o",
})

@ -51,4 +51,7 @@ vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.s
silent = true,
focusable = false,
close_events = { "InsertCharPre", "CursorMoved" },
anchor = "SW",
relative = "cursor",
row = -1,
})

Loading…
Cancel
Save