about summary refs log tree commit diff stats
path: root/modules/home/conf
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-24 14:10:39 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-24 14:10:39 +0200
commit047d2bc8ac99f34b6ee56c71353942689ace1f5c (patch)
treea2f31b802ff3076e87d288e947b4989d176ca048 /modules/home/conf
parentfix(flake/packages): Adapt the exposed `nvim` to the `pkgs` set changes (diff)
downloadnixos-config-047d2bc8ac99f34b6ee56c71353942689ace1f5c.tar.gz
nixos-config-047d2bc8ac99f34b6ee56c71353942689ace1f5c.zip
fix(modules/home): Use the canonical package name from `by-name`
Diffstat (limited to '')
-rw-r--r--modules/home/conf/nvim/plgs/treesitter/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/home/conf/nvim/plgs/treesitter/default.nix b/modules/home/conf/nvim/plgs/treesitter/default.nix
index 656b4ce3..13d27348 100644
--- a/modules/home/conf/nvim/plgs/treesitter/default.nix
+++ b/modules/home/conf/nvim/plgs/treesitter/default.nix
@@ -1,5 +1,4 @@
 {
-  osConfig,
   config,
   pkgs,
   lib,
@@ -17,7 +16,7 @@
 
       grammarPackages =
         config.programs.nixvim.plugins.treesitter.package.passthru.allGrammars
-        ++ [pkgs.yts-grammar];
+        ++ [pkgs.tree-sitter-yts];
 
       disabledLanguages = [];
 
@@ -49,7 +48,7 @@
     };
     extraFiles = {
       "queries/yts/highlights.scm" = ''
-        ${lib.strings.fileContents "${pkgs.yts-grammar}/queries/highlights.scm"}
+        ${lib.strings.fileContents "${pkgs.tree-sitter-yts}/queries/highlights.scm"}
       '';
     };
   };