Fixing prompt display in nvim

This commit is contained in:
Ivan Golikov 2025-01-24 02:25:55 +01:00
parent a805589c7f
commit 7566f19cd4

View file

@ -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╰─" &&