blob: 543732fa9ff7aa767205fc8c03ff1fd173e32464 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
vim.keymap.set("n", "<leader>vn", vim.diagnostic.goto_next, {})
vim.keymap.set("n", "<leader>vp", vim.diagnostic.goto_prev, {})
vim.diagnostic.config({
virtual_text = false,
})
local signs = { Error = "", Warn = "", Hint = "", Info = "" }
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
end
|