Fixing prompt display in nvim
This commit is contained in:
parent
a805589c7f
commit
7566f19cd4
1 changed files with 5 additions and 1 deletions
|
@ -23,8 +23,12 @@ if contains newline $_tide_left_items # two line prompt initialization
|
||||||
test "$tide_prompt_add_newline_before" = true && set -l add_newline '\n'
|
test "$tide_prompt_add_newline_before" = true && set -l add_newline '\n'
|
||||||
|
|
||||||
set_color $tide_prompt_color_frame_and_connection -b normal | read -l prompt_and_frame_color
|
set_color $tide_prompt_color_frame_and_connection -b normal | read -l prompt_and_frame_color
|
||||||
|
|
||||||
set -l column_offset 5
|
set -l column_offset 5
|
||||||
|
|
||||||
|
if test "$NVIM"
|
||||||
|
set column_offset 4
|
||||||
|
end
|
||||||
|
|
||||||
test "$tide_left_prompt_frame_enabled" = true &&
|
test "$tide_left_prompt_frame_enabled" = true &&
|
||||||
set -l top_left_frame "$prompt_and_frame_color╭─" &&
|
set -l top_left_frame "$prompt_and_frame_color╭─" &&
|
||||||
set -l bot_left_frame "$prompt_and_frame_color╰─" &&
|
set -l bot_left_frame "$prompt_and_frame_color╰─" &&
|
||||||
|
|
Loading…
Reference in a new issue