about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/neovim/nixvim/files/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-19 23:53:33 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 23:55:25 +0200
commitf4cbcd60a7f3e08cf73136484aae673820174c38 (patch)
treef09ee74a40b5123cc4c026ecfea3b023cf4ad214 /home-manager/soispha/config/neovim/nixvim/files/default.nix
parentFix(hm/impermanence): Save the date dir of iamb (diff)
downloadnixos-config-f4cbcd60a7f3e08cf73136484aae673820174c38.zip
Feat(hm/conf/neovim): Use non-treesitter theme for latex files
Vim tex doesnn't really not work with treesitter, and nightfox doesn't
really work without treesitter thus a new colorscheme was chooses.
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim/files/default.nix')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/files/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/files/default.nix b/home-manager/soispha/config/neovim/nixvim/files/default.nix
new file mode 100644
index 00000000..f8445563
--- /dev/null
+++ b/home-manager/soispha/config/neovim/nixvim/files/default.nix
@@ -0,0 +1,10 @@
+{lib, ...}: {
+  programs.nixvim = {
+    extraFiles = {
+      path = "ftplugin/tex.lua";
+      content = ''
+        ${lib.strings.fileContents ./ftplugin/tex.lua}
+      '';
+    };
+  };
+}