Merge 652ce798e51a1a89512a9add7305fd408ce82fdb into 574bb1887b9f27b3c046c6b74a1f3ed75b115a75

This commit is contained in:
daizhirui 2024-09-30 00:16:19 -07:00 committed by GitHub
commit 7f3fea3522
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,6 +61,8 @@ function s:rcmd(s)
endfunction
try
let s:can_replace_pyeval = !exists('g:powerline_pyeval')
call s:rcmd('import sys')
call s:rcmd('sys.path.append(f"/usr/lib/python{sys.version_info.major}.{sys.version_info.minor}/site-packages")')
call s:rcmd('try:')
call s:rcmd(' powerline_appended_path = None')
call s:rcmd(' try:')