mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user