better diagnostics
This commit is contained in:
@ -11,6 +11,16 @@ return {
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"mawkler/modicator.nvim",
|
||||
init = function()
|
||||
-- These are required for Modicator to work
|
||||
vim.o.cursorline = true
|
||||
vim.o.number = true
|
||||
vim.o.termguicolors = true
|
||||
end,
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"NvChad/nvim-colorizer.lua",
|
||||
ft = "lua",
|
||||
|
@ -1,5 +1,5 @@
|
||||
return {
|
||||
url = "https://git.sr.ht/~whynothugo/lsp_lines.nvim",
|
||||
"Maan2003/lsp_lines.nvim",
|
||||
event = "VimEnter",
|
||||
name = "lsp_lines.nvim",
|
||||
config = function()
|
||||
@ -19,7 +19,10 @@ return {
|
||||
|
||||
vim.schedule(function()
|
||||
vim.diagnostic.config({
|
||||
virtual_text = true,
|
||||
virtual_text = false,
|
||||
virtual_improved = {
|
||||
current_line = "hide",
|
||||
},
|
||||
virtual_lines = { highlight_whole_line = false, only_current_line = true },
|
||||
})
|
||||
end)
|
||||
|
@ -1,4 +1,18 @@
|
||||
return {
|
||||
{
|
||||
"luozhiya/lsp-virtual-improved.nvim",
|
||||
event = { "LspAttach" },
|
||||
config = function()
|
||||
require("lsp-virtual-improved").setup()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"dgagn/diagflow.nvim",
|
||||
opts = {
|
||||
toggle_event = { "InsertEnter" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
event = "VimEnter",
|
||||
config = function()
|
||||
@ -22,4 +36,5 @@ return {
|
||||
{ "[g", "<cmd>lua vim.diagnostic.goto_prev()<CR>" },
|
||||
{ "]g", "<cmd>lua vim.diagnostic.goto_next()<CR>" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user