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

View file

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