neovim refactor
This commit is contained in:
1 parent
b12c211a69
commit
883f9d26c2
25 files changed
+1154
-880
No files matched your search
@@ -0,0 +1,34 @@
|
||||
vim.diagnostic.config({
|
||||
signs = {
|
||||
text = {
|
||||
[vim.diagnostic.severity.ERROR] = " ",
|
||||
[vim.diagnostic.severity.WARN] = " ",
|
||||
[vim.diagnostic.severity.INFO] = " ",
|
||||
[vim.diagnostic.severity.HINT] = " ",
|
||||
},
|
||||
},
|
||||
severity_sort = true,
|
||||
float = { source = "if_many" },
|
||||
})
|
||||
|
||||
require("lz.n").load({
|
||||
{
|
||||
"trouble.nvim",
|
||||
cmd = "Trouble",
|
||||
keys = {
|
||||
{
|
||||
"<leader>dd",
|
||||
"<cmd>Trouble diagnostics toggle<cr>",
|
||||
desc = "Show workspace diagnostics",
|
||||
},
|
||||
{
|
||||
"<leader>db",
|
||||
"<cmd>Trouble diagnostics toggle filter.buf=0<cr>",
|
||||
desc = "Show buffer diagnostics",
|
||||
},
|
||||
},
|
||||
after = function()
|
||||
require("trouble").setup({})
|
||||
end,
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user