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:
parent
a1ec2b9bac
commit
e1338de477
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user