mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2026-05-14 08:23:48 +00:00
Compare commits
No commits in common. "cfdc17be3ae1607d4427332de0b29d556f9dda13" and "174b5fa2b13e7107a05e974e44f9bf59dece95f9" have entirely different histories.
cfdc17be3a
...
174b5fa2b1
10
init.lua
10
init.lua
@ -192,15 +192,7 @@ do
|
||||
virtual_lines = false, -- Text shows up underneath the line, with virtual lines
|
||||
|
||||
-- Auto open the float, so you can easily read the errors when jumping with `[d` and `]d`
|
||||
jump = {
|
||||
on_jump = function(_, bufnr)
|
||||
vim.diagnostic.open_float {
|
||||
bufnr = bufnr,
|
||||
scope = 'cursor',
|
||||
focus = false,
|
||||
}
|
||||
end,
|
||||
},
|
||||
jump = { float = true },
|
||||
}
|
||||
|
||||
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user