From 7566f19cd48b40911ed4e7f95e9f21b6509323b1 Mon Sep 17 00:00:00 2001 From: Ivan Golikov Date: Fri, 24 Jan 2025 02:25:55 +0100 Subject: [PATCH] Fixing prompt display in nvim --- .config/fish/functions/fish_prompt.fish | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish index 3b58b7b..1ead796 100644 --- a/.config/fish/functions/fish_prompt.fish +++ b/.config/fish/functions/fish_prompt.fish @@ -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' set_color $tide_prompt_color_frame_and_connection -b normal | read -l prompt_and_frame_color - set -l column_offset 5 + + if test "$NVIM" + set column_offset 4 + end + test "$tide_left_prompt_frame_enabled" = true && set -l top_left_frame "$prompt_and_frame_color╭─" && set -l bot_left_frame "$prompt_and_frame_color╰─" &&