nvim: configure window position for LSP hover
but it doesn't work (yet?)
This commit is contained in:
parent
eb6c9ff7e6
commit
1fb4dc1de9
|
@ -80,11 +80,14 @@ local lsp_status = require('lsp-status')
|
|||
lsp_status.register_progress()
|
||||
capabilities = vim.tbl_extend('keep', capabilities, lsp_status.capabilities)
|
||||
|
||||
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
|
||||
vim.lsp.handlers.hover, {
|
||||
-- opens lsp.util.open_floating_preview() -> nvim_open_win()
|
||||
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(vim.lsp.handlers.hover, {
|
||||
border = 'rounded',
|
||||
width = 60,
|
||||
focusable = false
|
||||
focusable = false,
|
||||
-- next 2 lines do nothing
|
||||
relative = 'win',
|
||||
anchor = 'NE',
|
||||
})
|
||||
|
||||
-- setup servers
|
||||
|
|
Loading…
Reference in New Issue
Block a user