mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:30:04 +08:00
perf(api): include neovim prerelease info
This commit is contained in:
parent
2ad0da4272
commit
681fe2f16d
@ -200,7 +200,7 @@ endif
|
|||||||
if has('nvim')
|
if has('nvim')
|
||||||
function! s:self.version() abort
|
function! s:self.version() abort
|
||||||
let v = api_info().version
|
let v = api_info().version
|
||||||
return v.major . '.' . v.minor . '.' . v.patch
|
return v.major . '.' . v.minor . '.' . v.patch . (v.prerelease ? '(Prerelease)' : '(Release)')
|
||||||
endfunction
|
endfunction
|
||||||
else
|
else
|
||||||
function! s:self.version() abort
|
function! s:self.version() abort
|
||||||
|
Loading…
Reference in New Issue
Block a user