summary refs log tree commit diff stats
path: root/user/modules
diff options
context:
space:
mode:
authorAlan Pearce2023-03-14 16:15:22 +0100
committerAlan Pearce2023-03-14 16:30:42 +0100
commit5e5cb81bc8f7a344fc43bc658fd409be5da55e67 (patch)
tree8c87aeb5ae2b10012962fef4e3f8160ffec557b1 /user/modules
parentf61a949a9a394afd3f21b8e993412630ad73a2e9 (diff)
downloadnixfiles-5e5cb81bc8f7a344fc43bc658fd409be5da55e67.tar.lz
nixfiles-5e5cb81bc8f7a344fc43bc658fd409be5da55e67.tar.zst
nixfiles-5e5cb81bc8f7a344fc43bc658fd409be5da55e67.zip
neovim: use builtin home-manager module to configure coc
Diffstat (limited to 'user/modules')
-rw-r--r--user/modules/nvim-coc.nix26
1 files changed, 0 insertions, 26 deletions
diff --git a/user/modules/nvim-coc.nix b/user/modules/nvim-coc.nix
deleted file mode 100644
index bc8fbb19..00000000
--- a/user/modules/nvim-coc.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  config,
-  lib,
-  pkgs,
-  ...
-}:
-with lib; let
-  inherit (pkgs) stdenv;
-  cfg = config.programs.neovim.coc;
-in {
-  options.programs.neovim.coc = {
-    config = mkOption {
-      type = types.attrs;
-      default = {};
-      description = ''
-        Settings for coc.nvim
-      '';
-    };
-  };
-
-  config = {
-    xdg.configFile."nvim/coc-settings.json" = {
-      source = pkgs.writeText "coc-settings.json" (builtins.toJSON cfg.config);
-    };
-  };
-}