diff options
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/nv/nvim/files/default.nix | 15 | ||||
-rw-r--r-- | modules/by-name/nv/nvim/files/ftplugin/tex.lua (renamed from modules/home.legacy/conf/nvim/files/ftplugin/tex.lua) | 0 |
2 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} + ''; + }; + }; +} diff --git a/modules/home.legacy/conf/nvim/files/ftplugin/tex.lua b/modules/by-name/nv/nvim/files/ftplugin/tex.lua index 4107a7c5..4107a7c5 100644 --- a/modules/home.legacy/conf/nvim/files/ftplugin/tex.lua +++ b/modules/by-name/nv/nvim/files/ftplugin/tex.lua |