We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e4dc91 commit e3c29edCopy full SHA for e3c29ed
plugin/barbaric.vim
@@ -1,5 +1,5 @@
1
" Check dependencies
2
-if system('uname -s') == 'Darwin' && executable('xkbswitch')
+if has('mac') && executable('xkbswitch')
3
let g:barbaric_ime = 'macos'
4
elseif executable('fcitx-remote') && system('fcitx-remote') > 0
5
let g:barbaric_ime = 'fcitx'
0 commit comments