1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Fix CJK character decoding problem (#745)

This commit is contained in:
Linwei
2021-01-25 12:12:19 +08:00
committed by GitHub
parent 16f3f9b77b
commit 7a968502d7

View File

@@ -3051,6 +3051,7 @@ function! s:run_system(cmd, version) abort
exec pyx . '__argv = {"args":vim.eval("a:cmd"), "shell":True}'
exec pyx . '__argv["stdout"] = subprocess.PIPE'
exec pyx . '__argv["stderr"] = subprocess.STDOUT'
exec pyx . '__argv["errors"] = "ignore"'
exec pyx . '__pp = subprocess.Popen(**__argv, universal_newlines=True)'
exec pyx . '__return_text = __pp.stdout.read()'
exec pyx . '__pp.stdout.close()'