summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-07 20:50:07 +0200
committerSilas Schöffel <sils@sils.li>2024-04-07 20:50:07 +0200
commit9dc24cee911038a10c594a1d2efcbf11e188b2e4 (patch)
tree683276b1b3412475b75fbc1fdb3ac6cd0bdc90ca
parentnixvim: add luasnip source (diff)
downloadnix-config-9dc24cee911038a10c594a1d2efcbf11e188b2e4.tar.gz
nix-config-9dc24cee911038a10c594a1d2efcbf11e188b2e4.zip
nixvim: tweak completion options
Diffstat (limited to '')
-rw-r--r--hm/nixvim/config.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/hm/nixvim/config.nix b/hm/nixvim/config.nix
index 7d3ddc0..e0e034b 100644
--- a/hm/nixvim/config.nix
+++ b/hm/nixvim/config.nix
@@ -9,7 +9,13 @@ pkgs: {
     textwidth = 83;
     linebreak = true;
 
-    completeopt = ["menu" "menuone" "noselect"];
+    completeopt = ["menuone" "noselect"];
+    wildmenu = true;
+    wildmode = builtins.concatStringsSep "," [
+      "longest"
+      "list"
+      "full"
+    ];
   };
   keymaps = [
     {