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

Update condition for installing vim-xkbswitch

This commit is contained in:
jdhao 2023-08-23 00:46:59 +02:00
parent 946e65662b
commit 6a6f8ff597

View File

@ -222,7 +222,7 @@ packer.startup {
use { "nvim-zh/better-escape.vim", event = { "InsertEnter" } } 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" } } use { "lyokha/vim-xkbswitch", event = { "InsertEnter" } }
elseif vim.g.is_win then elseif vim.g.is_win then
use { "Neur1n/neuims", event = { "InsertEnter" } } use { "Neur1n/neuims", event = { "InsertEnter" } }