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:
parent
c205ac6bca
commit
417fb450a2
@ -832,5 +832,9 @@ noremap <silent> <ScrollWheelUp> :call comfortable_motion#flick(-40)<CR>
|
|||||||
"""""""""""""""""""""""""" asyncrun.vim settings """"""""""""""""""""""""""
|
"""""""""""""""""""""""""" asyncrun.vim settings """"""""""""""""""""""""""
|
||||||
" Automatically open quickfix window of 6 line tall after asyncrun starts
|
" Automatically open quickfix window of 6 line tall after asyncrun starts
|
||||||
let g:asyncrun_open = 6
|
let g:asyncrun_open = 6
|
||||||
|
if has('win32')
|
||||||
|
" Command output encoding for Windows
|
||||||
|
let g:asyncrun_encs = 'gbk'
|
||||||
|
endif
|
||||||
"}}
|
"}}
|
||||||
"}
|
"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user