about summary refs log tree commit diff stats
path: root/modules/by-name/nv/nvim/files/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/nv/nvim/files/default.nix')
-rw-r--r--modules/by-name/nv/nvim/files/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/by-name/nv/nvim/files/default.nix b/modules/by-name/nv/nvim/files/default.nix
new file mode 100644
index 00000000..ef8afa1a
--- /dev/null
+++ b/modules/by-name/nv/nvim/files/default.nix
@@ -0,0 +1,15 @@
+{
+  config,
+  lib,
+  ...
+}: let
+  cfg = config.soispha.programs.nvim;
+in {
+  home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable {
+    extraFiles = {
+      "ftplugin/tex.lua".text = ''
+        ${lib.strings.fileContents ./ftplugin/tex.lua}
+      '';
+    };
+  };
+}