Reducing column offset for prompt in Neovim on macOS

This commit is contained in:
Ivan Golikov 2025-01-24 02:34:16 +01:00
parent 7566f19cd4
commit 4c273795c4

View file

@ -26,8 +26,13 @@ if contains newline $_tide_left_items # two line prompt initialization
set -l column_offset 5 set -l column_offset 5
if test "$NVIM" if test "$NVIM"
switch (uname)
case Darwin
set column_offset 3
case '*'
set column_offset 4 set column_offset 4
end end
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╭─" &&