Skip to content

Commit

Permalink
BUG: Fix has('patch-*)' syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHermitte committed May 16, 2023
1 parent 02764e0 commit 1f6d455
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions autoload/lh/qf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
" <URL:http://github.com/LucHermitte/lh-vim-lib>
" License: GPLv3 with exceptions
" <URL:http://github.com/LucHermitte/lh-vim-lib/blob/master/License.md>
" Version: 5.2.2.
let s:k_version = '522'
" Version: 5.4.0.
let s:k_version = '540'
" Created: 26th Jun 2018
" Last Update: 18th Nov 2020
" Last Update: 01st Dec 2022
"------------------------------------------------------------------------
" Description:
" Defines functions related to quickfix feature
Expand Down Expand Up @@ -153,7 +153,7 @@ endif

" Function: lh#qf#get_winnr() {{{3
" @since V4.5.0
if lh#has#patch('patch-7.4-2215') " && exists('*getwininfo')
if lh#has#patch('patch-7.4.2215') " && exists('*getwininfo')
function! lh#qf#get_winnr() abort
let wins = filter(getwininfo(), 'v:val.quickfix && !v:val.loclist')
" assert(len(wins) <= 1)
Expand Down

0 comments on commit 1f6d455

Please sign in to comment.