aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 078e1eb..1171295 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -222,7 +222,7 @@ packer.startup {
use { "nvim-zh/better-escape.vim", event = { "InsertEnter" } }
- if vim.g.is_mac then
+ if vim.g.is_mac and utils.executable('xkbswitch') then
use { "lyokha/vim-xkbswitch", event = { "InsertEnter" } }
elseif vim.g.is_win then
use { "Neur1n/neuims", event = { "InsertEnter" } }