Use has-patch for wildoptions, instead of silent!

This commit is contained in:
Danielle McLean 2022-07-02 16:50:57 +10:00
parent ca41e40e6a
commit 211ee2eb40
Signed by: 00dani
GPG Key ID: 52C059C3B22A753E
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ set linebreak showbreak=↩
set modelines=5
set showcmd
set wildmode=longest,full
silent! set wildoptions+=pum
if has('patch-8.2.4325')
set wildoptions+=pum
endif
set tabstop=2 shiftwidth=2