mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-30 01:14:58 +02:00
parent
a532fed72a
commit
4eea2b7e3c
@ -233,6 +233,7 @@ endfunction
|
|||||||
function! airline#util#has_vim9_script()
|
function! airline#util#has_vim9_script()
|
||||||
" Returns true, if Vim is new enough to understand vim9 script
|
" Returns true, if Vim is new enough to understand vim9 script
|
||||||
return (exists(":def") &&
|
return (exists(":def") &&
|
||||||
|
\ exists("v:versionlong") &&
|
||||||
\ v:versionlong >= 8022844 &&
|
\ v:versionlong >= 8022844 &&
|
||||||
\ get(g:, "airline_experimental", 0))
|
\ get(g:, "airline_experimental", 0))
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user