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

fix: add variable scope

This commit is contained in:
jdhao 2020-04-28 12:02:57 +08:00 committed by GitHub
parent 6ce5714c05
commit 9f028a151e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ call plug#begin(g:PLUGIN_HOME)
" Auto-completion
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
if executable('clang') && (is_mac || is_linux)
if executable('clang') && (g:is_mac || g:is_linux)
Plug 'deoplete-plugins/deoplete-clang'
endif