dorkhub

clean-diagnostic

A clean diagnostic plugin

Kurama622
Lua12MITupdated 3 months ago
git clone https://github.com/Kurama622/clean-diagnostic.gitKurama622/clean-diagnostic

Clean-diagnostic

Specific information will be displayed in the floating window when you request to show diagnostic details; at other times, only counts will be displayed.

clean-diagnostic

Installation

  {
    "kurama622/clean-diagnostic",
    event = "LspAttach",
    opts = {
      border = "rounded",
      min_severity = 4,
      max_width = 78,
    },
    keys = {
      {
        "<leader>sd",
        "<cmd>lua require('clean-diagnostic').show()<cr>",
        desc = "show the diagnostic of the current line",
      },
    },
  }

Other configuration items

  • icons

Prefix icon for diagnostic messages.

icons = { "", "", "", "" }
  • show_diagnostic_count

Default value is true

show_diagnostic_count = true
  • always_show_message

Automatically show diagnostic messages on the right side(eol_right_align).

Default value is false

always_show_message = false,

more like this

tobira.nvim

Open the next door in your Vim journey — personalized command discovery based on your actual usage

Lua51

search

search projects, people, and tags