From 87daa96f1d78b60008bb2a403538e36c72008ad7 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Thu, 4 Apr 2024 10:26:16 +0200 Subject: fix: wildoptions=pum was added in vim 9 --- vim/.vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vim/.vimrc b/vim/.vimrc index 45fe080..ebdb5c8 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -81,7 +81,9 @@ set wildmenu set wildmode=longest:full,full " Show vertical menu -set wildoptions+=pum +if v:version >= 900 " pum was added in vim 9 + set wildoptions+=pum +endif " Ignore some files in wildmenu set wildignore=*.o,*~,*.pyc,*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store -- cgit v1.2.3