From 4bb0fa7956100a9fa527a41613197d255de47fbd Mon Sep 17 00:00:00 2001 From: Nicholas Ciechanowski <55490546+ALameLlama@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:03:13 +1100 Subject: [PATCH] feat(diagnostics): add `tiny-inline-diagnostic-nvim` (#1251) 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 = {}, +}