diff options
| author | jdhao <jdhao@hotmail.com> | 2023-08-23 00:46:59 +0200 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2023-08-23 00:48:21 +0200 |
| commit | 6a6f8ff5974447fd452f5d8bf20dd090dfdd8ec9 (patch) | |
| tree | 23f3631c02d8365121a86f801239bb88cd7988ae | |
| parent | 946e65662bfa642b9b0662667fa65886ba65de41 (diff) | |
Update condition for installing vim-xkbswitch
| -rw-r--r-- | lua/plugins.lua | 2 |
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" } } |
