]> 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:

Open completion popup on entering insert mode
authormartin f. krafft <madduck@madduck.net>
Wed, 21 May 2025 07:40:43 +0000 (09:40 +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/config/autocmds.lua
.config/lazyvim/lua/plugins/blink-cmp.lua
.config/lazyvim/lua/plugins/disable-blink-ghost-test.lua [deleted file]
.gitignore.d/lazyvim

index c05bb2a76fa7740ff56b2256ccaf73c0f40ae009..d9e18e6c65badb1a547f3d1b92925aea25e28938 100644 (file)
   "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
   "gitsigns.nvim": { "branch": "main", "commit": "ee0606259ee5d5dd40398be26755048e8965086e" },
   "grug-far.nvim": { "branch": "main", "commit": "7df08fff7da6ee08006fe8eaccc3407b89da368b" },
-  "hardtime.nvim": { "branch": "main", "commit": "be3329939c14fc8a7e948eb963f632581a27ad2d" },
+  "hardtime.nvim": { "branch": "main", "commit": "7c7434003ab527918c2b1c072befa23978c7c49d" },
   "inc-rename.nvim": { "branch": "main", "commit": "2eaff20526ff6101337b84f4b0d238c11f47d7f4" },
   "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
   "lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
-  "lualine.nvim": { "branch": "master", "commit": "15884cee63a8c205334ab13ab1c891cd4d27101a" },
+  "lualine.nvim": { "branch": "master", "commit": "0c6cca9f2c63dadeb9225c45bc92bb95a151d4af" },
   "markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
   "mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
   "mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
   "mini.ai": { "branch": "main", "commit": "e139eb1101beb0250fea322f8c07a42f0f175688" },
-  "mini.align": { "branch": "main", "commit": "8d5f3254a4c25fdfd26b7467d2372f5deed3a78c" },
+  "mini.align": { "branch": "main", "commit": "969bdcdf9b88e30bda9cb8ad6f56afed208778ad" },
   "mini.hipatterns": { "branch": "main", "commit": "e5083df391171dc9d8172645606f8496d9443374" },
   "mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
   "mini.pairs": { "branch": "main", "commit": "69864a2efb36c030877421634487fd90db1e4298" },
   "nvim-lspconfig": { "branch": "master", "commit": "ac1dfbe3b60e5e23a2cff90e3bd6a3bc88031a57" },
   "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
   "nvim-treesitter": { "branch": "master", "commit": "066fd6505377e3fd4aa219e61ce94c2b8bdb0b79" },
-  "nvim-treesitter-textobjects": { "branch": "master", "commit": "a91cd95f50bf991106403cb02c5851b92e45820e" },
+  "nvim-treesitter-textobjects": { "branch": "master", "commit": "15f945eabde2a293ccf48eb28c214a69b643d6e1" },
   "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
   "persistence.nvim": { "branch": "main", "commit": "166a79a55bfa7a4db3e26fc031b4d92af71d0b51" },
   "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
-  "render-markdown.nvim": { "branch": "main", "commit": "a1b0988f5ab26698afb56b9c2f0525a4de1195c1" },
+  "render-markdown.nvim": { "branch": "main", "commit": "ac3639d88743d6364d40a4033f2813e56168820d" },
   "snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },
   "todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
   "tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" },
index 4be461847f09087dbac0133a57689dedd0c0ec87..3698ed4e15ef63d17a2a25f8c51a9038c7a8e71d 100644 (file)
@@ -11,3 +11,9 @@ vim.api.nvim_create_autocmd(
   { "BufEnter", "BufWinEnter" },
   { pattern = "*/tmp_github.com_*.txt", command = "set ft=markdown" }
 )
+
+vim.api.nvim_create_autocmd({ "InsertEnter" }, {
+  callback = function()
+    require("blink.cmp").show()
+  end,
+})
index 2fff1f8fc8d30a7929c2b1bd986062c014a160a2..ba6ec810ac406bae1cc03d132147c860b52db536 100644 (file)
@@ -27,6 +27,11 @@ return {
         "fallback",
       },
     },
+    completion = {
+      ghost_text = {
+        enabled = false,
+      },
+    },
     signature = { enabled = true },
   },
 }
diff --git a/.config/lazyvim/lua/plugins/disable-blink-ghost-test.lua b/.config/lazyvim/lua/plugins/disable-blink-ghost-test.lua
deleted file mode 100644 (file)
index 0c4eb85..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-return {
-  {
-    "saghen/blink.cmp",
-    opts = {
-      completion = {
-        ghost_text = {
-          enabled = false,
-        },
-      },
-    },
-  },
-}
index d9b89adbf00b23194f232161955190b67c42055c..c882e7426381ac2a233c45dc9161c614354786d7 100644 (file)
@@ -22,7 +22,6 @@
 !/.config/lazyvim/lua/plugins/blink-compat-lbdb.lua
 !/.config/lazyvim/lua/plugins/blink-compat.lua
 !/.config/lazyvim/lua/plugins/catppuccin.lua
-!/.config/lazyvim/lua/plugins/disable-blink-ghost-test.lua
 !/.config/lazyvim/lua/plugins/disable-flash.lua
 !/.config/lazyvim/lua/plugins/disable-mini-pairs.lua
 !/.config/lazyvim/lua/plugins/disable-noice.lua