revert back to old diagnostic float window

This commit is contained in:
Oliver Hartmann
2023-05-30 11:30:32 +02:00
parent 83f61683bf
commit 87f96d8209
2 changed files with 1 additions and 14 deletions

View File

@@ -123,6 +123,7 @@ return {
vim.keymap.set('n', '<A-o>', '<cmd>ClangdSwitchSourceHeader<CR>',
{ noremap = true, silent = false, desc = 'Switch Source/Header', buffer = bufnr })
vim.cmd([[autocmd CursorHold <buffer> lua OpenDiagFloat()]])
-- Set some keybinds conditional on server capabilities
if client.server_capabilities.documentFormattingProvider then