Hi, I want to use :lua vim.lsp.buf.hover()
but I want the hovering definitions to appear above my current line of code. Is this possible? I am porting my lsp experience from coc.vim and this was achievable w/ the flag signature.preferShownAbove
We don’t offer a flag for this. If it’s not an available flag, the recommended entrypoint for customizing any of this functionality is overriding the lua function with your own extended lua function. In this case, you could wrap neovim/util.lua at 4112294478bf82baa89cde9924e0308c01c107ec · mjlbach/neovim · GitHub which is passed here: neovim/util.lua at 4112294478bf82baa89cde9924e0308c01c107ec · mjlbach/neovim · GitHub
We generally try to only add explicit options when we see that many users are duplicating the same override.