summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-29 21:04:48 +0200
committerSilas Schöffel <sils@sils.li>2024-04-29 21:04:48 +0200
commit2fa819ab1539fad1f4eb6249e42cfc61280119e5 (patch)
tree707f459a73370b87ce3d325862b642dd6cb45573
parentgit: add recommit alias (diff)
downloadnix-config-2fa819ab1539fad1f4eb6249e42cfc61280119e5.tar.gz
nix-config-2fa819ab1539fad1f4eb6249e42cfc61280119e5.zip
nixvim: don't preselct completion options
-rw-r--r--hm/nixvim/config.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hm/nixvim/config.nix b/hm/nixvim/config.nix
index 51ff108..1f8948d 100644
--- a/hm/nixvim/config.nix
+++ b/hm/nixvim/config.nix
@@ -85,6 +85,7 @@ pkgs: {
       enable = true;
       autoEnableSources = true;
       settings = {
+        preselect = "cmp.PreselectMode.None";
         snippet.expand = "function(args) require('luasnip').lsp_expand(args.body) end";
         mappings = {
           "<C-Space>" = "cmp.mapping.complete()";