revert back to old diagnostic float window
This commit is contained in:
parent
83f61683bf
commit
87f96d8209
@ -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'
|
|
||||||
}
|
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user