fix: only set custom config file settings if not set already
This commit is contained in:
committed by
Dheepak Krishnamurthy
parent
1e08e3f5ac
commit
10a5f30536
@@ -34,9 +34,13 @@ endif
|
|||||||
|
|
||||||
" if lazygit_use_custom_config_file_path is set to 1 the
|
" if lazygit_use_custom_config_file_path is set to 1 the
|
||||||
" lazygit_config_file_path option will be evaluated
|
" 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
|
" 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()
|
command! LazyGit lua require'lazygit'.lazygit()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user