Check VIMRUNTIME instead
parent
29861812dd
commit
77a891d8c6
|
|
@ -196,7 +196,7 @@ function powerline_battery_status_prompt {
|
||||||
}
|
}
|
||||||
|
|
||||||
function powerline_in_vim_prompt {
|
function powerline_in_vim_prompt {
|
||||||
if [ -z "$MYVIMRC" ]; then
|
if [ -z "$VIMRUNTIME" ]; then
|
||||||
IN_VIM_PROMPT=""
|
IN_VIM_PROMPT=""
|
||||||
else
|
else
|
||||||
IN_VIM_PROMPT="$(set_rgb_color - ${IN_VIM_PROMPT_COLOR}) ${IN_VIM_PROMPT_TEXT} "
|
IN_VIM_PROMPT="$(set_rgb_color - ${IN_VIM_PROMPT_COLOR}) ${IN_VIM_PROMPT_TEXT} "
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ function powerline_last_status_prompt {
|
||||||
}
|
}
|
||||||
|
|
||||||
function powerline_in_vim_prompt {
|
function powerline_in_vim_prompt {
|
||||||
if [ -z "$MYVIMRC" ]; then
|
if [ -z "$VIMRUNTIME" ]; then
|
||||||
IN_VIM_PROMPT=""
|
IN_VIM_PROMPT=""
|
||||||
else
|
else
|
||||||
IN_VIM_PROMPT="$(set_rgb_color ${LAST_THEME_COLOR} ${IN_VIM_PROMPT_COLOR})${THEME_PROMPT_SEPARATOR}${normal}$(set_rgb_color - ${IN_VIM_PROMPT_COLOR}) ${IN_VIM_PROMPT_TEXT} ${normal}$(set_rgb_color ${IN_VIM_PROMPT_COLOR} -)${normal}"
|
IN_VIM_PROMPT="$(set_rgb_color ${LAST_THEME_COLOR} ${IN_VIM_PROMPT_COLOR})${THEME_PROMPT_SEPARATOR}${normal}$(set_rgb_color - ${IN_VIM_PROMPT_COLOR}) ${IN_VIM_PROMPT_TEXT} ${normal}$(set_rgb_color ${IN_VIM_PROMPT_COLOR} -)${normal}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue