aboutsummaryrefslogtreecommitdiff
path: root/plugins.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-09-27 19:22:20 +0800
committerjdhao <jdhao@hotmail.com>2020-09-27 19:22:20 +0800
commit9f344b082012d60b834210634bff130f988f95d0 (patch)
tree84f61d4bbdf6179d15535cbf293a7b026c3cafa9 /plugins.vim
parentc226973bd5507781fa20bcacfd2620ac7f0934b4 (diff)
use g:is_win to check current system
Diffstat (limited to 'plugins.vim')
-rw-r--r--plugins.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins.vim b/plugins.vim
index 1cd0569..b6a78cc 100644
--- a/plugins.vim
+++ b/plugins.vim
@@ -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