[nvim] Edit diagnostics
This commit is contained in:
1 parent
40827fc977
commit
dd8f227c4c
1 file changed
+20
-3
@@ -1,9 +1,26 @@
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false,
|
||||
virtual_text = {
|
||||
spacing = 2,
|
||||
source = "if_many",
|
||||
prefix = "●",
|
||||
},
|
||||
signs = true,
|
||||
underline = true,
|
||||
update_in_insert = false,
|
||||
update_in_insert = true,
|
||||
severity_sort = true,
|
||||
float = {
|
||||
border = "rounded",
|
||||
source = true,
|
||||
},
|
||||
jump = {
|
||||
wrap = true,
|
||||
on_jump = function(_, bufnr)
|
||||
vim.diagnostic.open_float({
|
||||
bufnr = bufnr,
|
||||
scope = "cursor",
|
||||
focus = false,
|
||||
})
|
||||
end,
|
||||
},
|
||||
})
|
||||
|
||||
vim.fn.sign_define('DapBreakpoint', {
|
||||
|
||||
Reference in new issue
Block a user