1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +08:00

fix(prompt): fix prompt api version checking

This commit is contained in:
wsdjeg 2022-04-04 21:46:30 +08:00
parent a1ec2b9bac
commit e1338de477

View File

@ -168,7 +168,7 @@ func! s:self._build_prompt() abort
echohl None | echon self._prompt.begin
echohl Wildmenu | echon self._prompt.cursor
echohl None | echon self._prompt.end
if empty(self._prompt.cursor) && !has('nvim')
if empty(self._prompt.cursor) && (has('nvim-0.5.0') || !has('nvim'))
echohl Comment | echon '_' | echohl None
endif
" FIXME: Macvim need extra redraw,