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
This commit is contained in:
siduck 2022-06-15 07:26:10 +05:30
parent a7a6945f52
commit aabf8ca225
2 changed files with 6 additions and 3 deletions

View File

@ -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",
})

View File

@ -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,
})