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

use g:is_win to check current system

This commit is contained in:
jdhao 2020-09-27 19:22:20 +08:00
parent c226973bd5
commit 9f344b0820

View File

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