diff options
| author | ache <ache@ache.one> | 2025-05-18 03:34:51 +0200 |
|---|---|---|
| committer | ache <ache@ache.one> | 2025-05-18 03:34:51 +0200 |
| commit | 3268a00c27b1881e7cb26118b4b20fb790cd211f (patch) | |
| tree | 6e108f19cf23d5509517b78f528c24a1a2e45e86 /lua/ache/plugins | |
| parent | Update configuration to add LSP nvim 0.11 support (diff) | |
Correct cmd validation
Diffstat (limited to 'lua/ache/plugins')
| -rw-r--r-- | lua/ache/plugins/nvim-cmp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/ache/plugins/nvim-cmp.lua b/lua/ache/plugins/nvim-cmp.lua index 8523d72..b6918ef 100644 --- a/lua/ache/plugins/nvim-cmp.lua +++ b/lua/ache/plugins/nvim-cmp.lua @@ -143,7 +143,7 @@ return { cmp.setup.cmdline(":", { -- mapping = cmp.mapping.preset.cmdline(), mapping = cmp.mapping.preset.cmdline({ - ["<CR>"] = { + ["<S-CR>"] = { c = function(default) if cmp.visible() then return cmp.confirm({ select = true }) |