From 9f344b082012d60b834210634bff130f988f95d0 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 27 Sep 2020 19:22:20 +0800 Subject: [PATCH] use g:is_win to check current system --- plugins.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.vim b/plugins.vim index 1cd0569..b6a78cc 100644 --- a/plugins.vim +++ b/plugins.vim @@ -880,7 +880,7 @@ noremap :call comfortable_motion#flick(-20) """""""""""""""""""""""""" 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