From 4c273795c4f33a6c485765a9521c48faed4e74ef Mon Sep 17 00:00:00 2001 From: Ivan Golikov Date: Fri, 24 Jan 2025 02:34:16 +0100 Subject: [PATCH] Reducing column offset for prompt in Neovim on macOS --- .config/fish/functions/fish_prompt.fish | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish index 1ead796..6f0042d 100644 --- a/.config/fish/functions/fish_prompt.fish +++ b/.config/fish/functions/fish_prompt.fish @@ -26,7 +26,12 @@ if contains newline $_tide_left_items # two line prompt initialization set -l column_offset 5 if test "$NVIM" - set column_offset 4 + switch (uname) + case Darwin + set column_offset 3 + case '*' + set column_offset 4 + end end test "$tide_left_prompt_frame_enabled" = true &&