about summary refs log tree commit diff
path: root/.config/nvim/lua/plugins/cmp.lua
diff options
context:
space:
mode:
authorvenomade <venomade@venomade.com>2026-02-13 18:09:22 +0000
committervenomade <venomade@venomade.com>2026-02-13 18:09:22 +0000
commit4b8cc0b9a9d92636b5c5b84595e6302900f5dfce (patch)
treef0896b545f01e87c661af2dbf53f80337c06c05e /.config/nvim/lua/plugins/cmp.lua
parent0bd150185551b6d8835d022c15a5f6e832d51113 (diff)
ZK, NVIM and Misc
Add ZK config, template and script.
Add various Neovim plugins, and some markdown specific settings.
Add Neovim aliases.
Fix 100% in alsa luastatus plugin.
Diffstat (limited to '.config/nvim/lua/plugins/cmp.lua')
-rw-r--r--.config/nvim/lua/plugins/cmp.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/.config/nvim/lua/plugins/cmp.lua b/.config/nvim/lua/plugins/cmp.lua
index 541e62c..7728d19 100644
--- a/.config/nvim/lua/plugins/cmp.lua
+++ b/.config/nvim/lua/plugins/cmp.lua
@@ -15,6 +15,8 @@ return {
       -- preselect = cmp.PreselectMode.None,
       completion = {
         completeopt = "menu,menuone,noinsert",
+        callSnippet = "Replace",
+        keywordSnippet = "Replace",
       },
       window = {
         completion = cmp.config.window.bordered({}),
@@ -37,11 +39,11 @@ return {
         },
         {
           { name = 'path' },
-        },
-        {
-          { name = 'buffer' },
-          { name = 'rg',    keyword_length = 3 }
         }
+        -- {
+        --   { name = 'buffer' },
+        --   { name = 'rg',    keyword_length = 3 }
+        -- }
       ),
       formatting = {
         format = lspkind.cmp_format({