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

@ -1,14 +0,0 @@
return {
'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
config = true,
keys = {
{
'<space>l',
function()
require('lsp_lines').toggle()
end,
desc = 'Toggle lsp_lines',
}
},
event = 'LspAttach'
}

View File

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