1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-10 10:47:02 +00:00
home-manager/tests/modules/programs/neovim/coc-config.nix
2025-02-08 09:17:02 +01:00

26 lines
539 B
Nix

{ lib, ... }:
# Currently broken due to a change in Nixpkgs.
lib.mkIf false {
imports = [ ./stubs.nix ];
programs.neovim = {
enable = true;
coc = {
enable = true;
settings = {
# my variable
foo = "bar";
};
};
};
nmt.script = ''
cocSettings="$TESTED/home-files/.config/nvim/coc-settings.json"
cocSettingsNormalized="$(normalizeStorePaths "$cocSettings")"
assertFileExists "$cocSettings"
assertFileContent "$cocSettingsNormalized" "${./coc-config.expected}"
'';
}