master
spike 2 years ago
parent 5977281eea
commit 57f173cf4d

@ -1,4 +1,3 @@
---@diagnostic disable: trailing-space
-- vim: foldmethod=marker foldlevel=1 -- vim: foldmethod=marker foldlevel=1
-- n, v, i, t, c = mode name.s -- n, v, i, t, c = mode name.s

@ -1,4 +1,5 @@
M = {} local M = {}
M.shown = true M.shown = true
-- toggle diagnostics with show/hide -- toggle diagnostics with show/hide
@ -13,13 +14,6 @@ M.toggle = function()
vim.diagnostic.show() vim.diagnostic.show()
end end
-- my customized attach
-- M.custom_attach = function(client, bufnr)
-- end
-- return M
--
local orig_diag_virt_handler = vim.diagnostic.handlers.virtual_text local orig_diag_virt_handler = vim.diagnostic.handlers.virtual_text
local ns = vim.api.nvim_create_namespace("my_diagnostics") local ns = vim.api.nvim_create_namespace("my_diagnostics")

Loading…
Cancel
Save