plugins/hmts: fix warning

This commit is contained in:
Austin Horstman 2024-12-11 11:57:52 -06:00
parent 4d8b9aa55f
commit 551fc90797
No known key found for this signature in database

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 ];
};