changeset 428:5dd4d52dee21

Fix wildmode setting to only complete upto common match
author zegervdv <zegervdv@me.com>
date Sun, 01 Aug 2021 18:49:15 +0200
parents 3cd158f2c6f9
children 5c72a33ba7d7
files dot_config/nvim/init.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dot_config/nvim/init.lua	Sun Aug 01 18:47:24 2021 +0200
+++ b/dot_config/nvim/init.lua	Sun Aug 01 18:49:15 2021 +0200
@@ -480,7 +480,7 @@
 opt.history = 1000 -- Remember last commands
 
 opt.wildmenu = true -- Command completion
-opt.wildmode = { longest = 'full', 'full' } -- Complete the fullest match
+opt.wildmode = { longest = 'full' } -- Complete the fullest match
 opt.shortmess:append 'c' -- Hide ins-completion messages
 
 opt.ttyfast = true -- fast terminal