1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Fix asyncrun command output issue for Chinese

The command output returned by Windows system may not be encoded in utf-8 format.
We need to set the format explicitly.
This commit is contained in:
jdhao 2019-12-09 16:19:36 +08:00 committed by GitHub
parent c205ac6bca
commit 417fb450a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -832,5 +832,9 @@ noremap <silent> <ScrollWheelUp> :call comfortable_motion#flick(-40)<CR>
"""""""""""""""""""""""""" asyncrun.vim settings """"""""""""""""""""""""""
" Automatically open quickfix window of 6 line tall after asyncrun starts
let g:asyncrun_open = 6
if has('win32')
" Command output encoding for Windows
let g:asyncrun_encs = 'gbk'
endif
"}}
"}