Skip to content

plugin: tiny-diagnostics pleasant lsp popups #47

@practicalli-johnny

Description

@practicalli-johnny

Review the tiny-inline-diagnostics for prettier and easier to read popups of diagnostics messages

https://github.com/rachartier/tiny-inline-diagnostic.nvim

Available from Astrocommunity: https://github.com/AstroNvim/astrocommunity/tree/main/lua/astrocommunity/diagnostics/tiny-inline-diagnostic-nvim

  -- ----------------------------------------------
  -- Diagnostics

  -- Pretty LSP diagnostics
  { import = "astrocommunity.diagnostics.tiny-inline-diagnostic-nvim" },
  -- ----------------------------------------------

Or define using the plugin directly, optionally defining a preset (theme)

  -- Stylised LSP diagnostic
  {
    "rachartier/tiny-inline-diagnostic.nvim",
    opts = {
      -- Style preset for diagnostic messages
      preset = "powerline",
    },
  },

NOTE: replaces #43

Tests

Works well on lua files when editing the Astro5 configuration

Didnt work with Clojure by default 😿 Update: works when diagnostics UI toggle enabled

NOTE: on AstroNvim discord someone mentioned creating an astrocommunity spec to add toggles

Metadata

Metadata

Labels

No fields configured for Feature.

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions