mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
health.vim: env var may be defined but empty #7498
This commit is contained in:
parent
85cfc4c4f9
commit
b7f1885fab
@ -174,7 +174,7 @@ function! s:check_terminal() abort
|
||||
\ .(empty(kbs_entry) ? '? (not found)' : kdch1_entry))
|
||||
endif
|
||||
for env_var in ['XTERM_VERSION', 'VTE_VERSION', 'TERM_PROGRAM', 'COLORTERM', 'SSH_TTY']
|
||||
if !empty(eval('$'.env_var))
|
||||
if !exists('$'.env_var)
|
||||
call health#report_info(printf("$%s='%s'", env_var, eval('$'.env_var)))
|
||||
endif
|
||||
endfor
|
||||
|
Loading…
Reference in New Issue
Block a user