]> git.madduck.net Git - etc/lazyvim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

style the doc popup window
authormartin f. krafft <madduck@madduck.net>
Wed, 7 May 2025 08:26:42 +0000 (10:26 +0200)
committermartin f. krafft <madduck@madduck.net>
Wed, 6 Aug 2025 09:57:17 +0000 (11:57 +0200)
.config/lazyvim/lazy-lock.json
.config/lazyvim/lua/plugins/noice-doc-popup-styling.lua [new file with mode: 0644]
.config/lazyvim/lua/plugins/nvim-coverage.lua [new file with mode: 0644]
.gitignore.d/lazyvim

index 0b7fb3136b6f3beb5f1109745de8b568666d5345..9c4f959b9202b33146a2bbebc1d7c7221f894027 100644 (file)
@@ -27,6 +27,7 @@
   "neotest-python": { "branch": "master", "commit": "a2861ab3c9a0bf75a56b11835c2bfc8270f5be7e" },
   "noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
   "nui.nvim": { "branch": "main", "commit": "f535005e6ad1016383f24e39559833759453564e" },
   "neotest-python": { "branch": "master", "commit": "a2861ab3c9a0bf75a56b11835c2bfc8270f5be7e" },
   "noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
   "nui.nvim": { "branch": "main", "commit": "f535005e6ad1016383f24e39559833759453564e" },
+  "nvim-coverage": { "branch": "main", "commit": "a939e425e363319d952a6c35fb3f38b34041ded2" },
   "nvim-lint": { "branch": "master", "commit": "9dfb77ef6c5092a19502883c02dc5a02ec648729" },
   "nvim-lspconfig": { "branch": "master", "commit": "4bc481b6f0c0cf3671fc894debd0e00347089a4e" },
   "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
   "nvim-lint": { "branch": "master", "commit": "9dfb77ef6c5092a19502883c02dc5a02ec648729" },
   "nvim-lspconfig": { "branch": "master", "commit": "4bc481b6f0c0cf3671fc894debd0e00347089a4e" },
   "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
diff --git a/.config/lazyvim/lua/plugins/noice-doc-popup-styling.lua b/.config/lazyvim/lua/plugins/noice-doc-popup-styling.lua
new file mode 100644 (file)
index 0000000..ab74553
--- /dev/null
@@ -0,0 +1,26 @@
+return {
+  {
+    "folke/noice.nvim",
+    opts = {
+      presets = {
+        lsp_doc_border = true,
+      },
+      lsp = {
+        documentation = {
+          opts = {
+            relative = "cursor",
+            position = auto, -- when auto, then it will be positioned to the cmdline or cursor
+            size = {
+              width = 0.8,
+              height = 0.3,
+            },
+            border = {
+              style = "rounded",
+              padding = { 0, 0 },
+            },
+          },
+        },
+      },
+    },
+  },
+}
diff --git a/.config/lazyvim/lua/plugins/nvim-coverage.lua b/.config/lazyvim/lua/plugins/nvim-coverage.lua
new file mode 100644 (file)
index 0000000..7c77a42
--- /dev/null
@@ -0,0 +1,15 @@
+return {
+  {
+    "andythigpen/nvim-coverage",
+    version = "*",
+    config = function()
+      require("coverage").setup({
+        auto_reload = true,
+        highlights = { uncovered = { bg = "#F07178" } },
+        load_coverage_cb = function(ftype)
+          vim.notify("(Re)loaded " .. ftype .. " coverage")
+        end,
+      })
+    end,
+  },
+}
index 688e8db25198392e5e3ab1242b06dd05065b5d06..14d69634ca4b6e52dce8116296e1bce45db1fad4 100644 (file)
@@ -32,6 +32,8 @@
 !/.config/lazyvim/lua/plugins/example.lua
 !/.config/lazyvim/lua/plugins/markdown-in-mailbody.lua
 !/.config/lazyvim/lua/plugins/mini-align.lua
 !/.config/lazyvim/lua/plugins/example.lua
 !/.config/lazyvim/lua/plugins/markdown-in-mailbody.lua
 !/.config/lazyvim/lua/plugins/mini-align.lua
+!/.config/lazyvim/lua/plugins/noice-doc-popup-styling.lua
+!/.config/lazyvim/lua/plugins/nvim-coverage.lua
 !/.config/lazyvim/lua/plugins/vim-table-mode.lua
 !/.config/lazyvim/options.lua
 !/.config/lazyvim/plugins
 !/.config/lazyvim/lua/plugins/vim-table-mode.lua
 !/.config/lazyvim/options.lua
 !/.config/lazyvim/plugins