From 30f76314a67a0abe313be3ed307815545e93dd91 Mon Sep 17 00:00:00 2001 From: Nicholas Ciechanowski Date: Thu, 24 Oct 2024 14:41:30 +1100 Subject: [PATCH] feat(tiny-inline-diagnostic-nvim): add `tiny-inline-diagnostic-nvim` --- .../tiny-inline-diagnostic-nvim/README.md | 7 +++++++ .../tiny-inline-diagnostic-nvim/init.lua | 14 ++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 lua/astrocommunity/diagnostics/tiny-inline-diagnostic-nvim/README.md create mode 100644 lua/astrocommunity/diagnostics/tiny-inline-diagnostic-nvim/init.lua diff --git a/lua/astrocommunity/diagnostics/tiny-inline-diagnostic-nvim/README.md b/lua/astrocommunity/diagnostics/tiny-inline-diagnostic-nvim/README.md new file mode 100644 index 000000000..5416fc239 --- /dev/null +++ b/lua/astrocommunity/diagnostics/tiny-inline-diagnostic-nvim/README.md @@ -0,0 +1,7 @@ +# tiny-inline-diagnostic.nvim + +A Neovim plugin that display prettier diagnostic messages. Display one line diagnostic messages where the cursor is, with icons and colors. + +**Repository:** + +_Note_: This sets the Astrocore diagnostics to level 2 diff --git a/lua/astrocommunity/diagnostics/tiny-inline-diagnostic-nvim/init.lua b/lua/astrocommunity/diagnostics/tiny-inline-diagnostic-nvim/init.lua new file mode 100644 index 000000000..82e225bca --- /dev/null +++ b/lua/astrocommunity/diagnostics/tiny-inline-diagnostic-nvim/init.lua @@ -0,0 +1,14 @@ +return { + "rachartier/tiny-inline-diagnostic.nvim", + event = "VeryLazy", + dependencies = { + "astronvim/astrocore", + opts = { + diagnostics = { + -- Disable diagnostics virtual text to prevent duplicates + virtual_text = false, + }, + }, + }, + opts = {}, +}