mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-01 03:29:24 +01:00
fix(neovim): Only import fcitx-vim if fcitx5 enabled
This fixes an issue where fcitx-vim would error on systems without fcitx5 enabled.
This commit is contained in:
parent
a725e0c2da
commit
f9fdac4925
@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
let
|
||||
vim-nix-rummik = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||
pname = "vim-nix";
|
||||
@ -324,7 +324,7 @@ in
|
||||
bufdelete-nvim
|
||||
vim-crystal
|
||||
vim-nix-rummik
|
||||
fcitx-vim
|
||||
(lib.mkIf (config.i18n.inputMethod.enabled == "fcitx5") fcitx-vim)
|
||||
];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user