Skip to content

Commit

Permalink
Fix check for vim9 script
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbra committed Apr 17, 2023
1 parent a532fed commit 4eea2b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/airline/util.vim
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ endfunction
function! airline#util#has_vim9_script()
" Returns true, if Vim is new enough to understand vim9 script
return (exists(":def") &&
\ exists("v:versionlong") &&
\ v:versionlong >= 8022844 &&
\ get(g:, "airline_experimental", 0))
endfunction
Expand Down

0 comments on commit 4eea2b7

Please sign in to comment.