feat: Change option to lazygit_floating_window_border_chars

This commit is contained in:
Dheepak Krishnamurthy
2023-05-20 17:30:30 -04:00
parent 41c617f2da
commit e90f0ee657
3 changed files with 8 additions and 8 deletions

View File

@@ -21,15 +21,15 @@ endif
if exists('g:lazygit_floating_window_corner_chars')
echohl WarningMsg
echomsg "`g:lazygit_floating_window_corner_chars` is deprecated. Please use `g:lazygit_floating_window_chars` instead."
echomsg "`g:lazygit_floating_window_corner_chars` is deprecated. Please use `g:lazygit_floating_window_border_chars` instead."
echohl None
if !exists('g:lazygit_floating_window_chars')
let g:lazygit_floating_window_chars = g:lazygit_floating_window_corner_chars
if !exists('g:lazygit_floating_window_border_chars')
let g:lazygit_floating_window_border_chars = g:lazygit_floating_window_corner_chars
endif
endif
if !exists('g:lazygit_floating_window_chars')
let g:lazygit_floating_window_chars = ['╭','─', '╮', '│', '╯','─', '╰', '│']
if !exists('g:lazygit_floating_window_border_chars')
let g:lazygit_floating_window_border_chars = ['╭','─', '╮', '│', '╯','─', '╰', '│']
endif
" if lazygit_use_custom_config_file_path is set to 1 the