fork/home-manager

git clone https://git.julia.blue/fork/home-manager

t4ccerneovim: Add coc support (#2154)addc78be

master
522 B27 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    programs.neovim = {
8      enable = true;
9      coc = {
10        enable = true;
11        settings = {
12          # my variable
13          foo = "bar";
14        };
15      };
16    };
17
18    nmt.script = ''
19      cocSettings="$TESTED/home-files/.config/nvim/coc-settings.json"
20      cocSettingsNormalized="$(normalizeStorePaths "$cocSettings")"
21
22      assertFileExists "$cocSettings"
23      assertFileContent "$cocSettingsNormalized" "${./coc-config.expected}"
24    '';
25  };
26}
27