feat: enable inline diagnostic

This commit is contained in:
fm39hz-laptop 2024-10-28 09:58:40 +07:00
parent dab942d7e5
commit 3e850be66d
3 changed files with 22 additions and 20 deletions

View file

@ -114,6 +114,7 @@
"telescope-git-submodules.nvim": { "branch": "main", "commit": "e9bbf8b9451dcd7911e0c1bf3ab0f61bb33e0a59" },
"telescope-import.nvim": { "branch": "main", "commit": "abce03c71791bd27fc9043b62b5483467875b758" },
"telescope.nvim": { "branch": "master", "commit": "37dc9233a473dd6c3f54456ef9994d8f77c80211" },
"tiny-inline-diagnostic.nvim": { "branch": "main", "commit": "ccb67504f93b20f36775d3aad620f9dc9ed98bd9" },
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
"toggle-checkbox.nvim": { "branch": "main", "commit": "58f958a2dcfb974963d4bb772ad8c3d8a1c62774" },
"toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" },

View file

@ -5,3 +5,4 @@ vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.writebackup = false
vim.opt.spelllang = {}
vim.diagnostic.config({ virtual_text = false })

View file

@ -1,22 +1,22 @@
return {
-- {
-- "rachartier/tiny-inline-diagnostic.nvim",
-- event = "VeryLazy",
-- opts = {
-- signs = {
-- left = "",
-- right = "",
-- diag = "●",
-- arrow = "  ",
-- up_arrow = "  ",
-- vertical = "│",
-- -- vertical_end = "╰",
-- vertical_end = "└",
-- },
-- break_line = {
-- enabled = true,
-- after = 15,
-- },
-- },
-- },
{
"rachartier/tiny-inline-diagnostic.nvim",
event = "BufReadPre",
opts = {
signs = {
left = "",
right = "",
diag = "",
arrow = "",
up_arrow = "",
vertical = "",
-- vertical_end = "╰",
vertical_end = "",
},
break_line = {
enabled = true,
after = 15,
},
},
},
}