fix: only set custom config file settings if not set already

This commit is contained in:
pythoner6
2024-02-22 01:42:16 -05:00
committed by Dheepak Krishnamurthy
parent 1e08e3f5ac
commit 10a5f30536

View File

@@ -34,9 +34,13 @@ endif
" if lazygit_use_custom_config_file_path is set to 1 the
" lazygit_config_file_path option will be evaluated
let g:lazygit_use_custom_config_file_path = 0
if !exists('g:lazygit_use_custom_config_file_path')
let g:lazygit_use_custom_config_file_path = 0
endif
" path to custom config file
let g:lazygit_config_file_path = ''
if !exists('g:lazygit_config_file_path')
let g:lazygit_config_file_path = ''
endif
command! LazyGit lua require'lazygit'.lazygit()