diff options
Diffstat (limited to 'init.vim')
| -rw-r--r-- | init.vim | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -50,6 +50,10 @@ "} "{ Main configurations +let g:is_win = has('win32') || has('win64') +let g:is_linux = has('unix') && !has('macunix') +let g:is_mac = has('macunix') + " If you are using Neovim on Linux system and want to set it up system wide " for users, set g:nvim_system_wide to 1. If you only want to use it for " personal need, set this variable to 0. @@ -57,7 +61,7 @@ let g:nvim_system_wide=0 " Do not set this varialbe if the system is not *nix if g:nvim_system_wide - if !has('unix') + if !g:is_linux let g:nvim_system_wide = 0 endif endif |
