plugins/hmts: fix warning

This commit is contained in:
Austin Horstman
2024-12-11 10:26:12 -06:00
parent b752606681
commit 58a1f4a399
+3 -4
View File
@@ -1,6 +1,5 @@
{
lib,
helpers,
config,
pkgs,
...
@@ -24,9 +23,9 @@ in
};
config = mkIf cfg.enable {
warnings = optional (!config.plugins.treesitter.enable) [
"Nixvim: hmts needs treesitter to function as intended"
];
warnings = optional (
!config.plugins.treesitter.enable
) "Nixvim: hmts needs treesitter to function as intended";
extraPlugins = [ cfg.package ];
};