mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +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')
|
||||
function! s:self.version() abort
|
||||
let v = api_info().version
|
||||
return v.major . '.' . v.minor . '.' . v.patch
|
||||
return v.major . '.' . v.minor . '.' . v.patch . (v.prerelease ? '(Prerelease)' : '(Release)')
|
||||
endfunction
|
||||
else
|
||||
function! s:self.version() abort
|
||||
|
Loading…
Reference in New Issue
Block a user