From 551fc90797f2b56b4fff91540fd9d65fb997d4af Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Wed, 11 Dec 2024 11:57:52 -0600 Subject: [PATCH] plugins/hmts: fix warning --- plugins/by-name/hmts/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/by-name/hmts/default.nix b/plugins/by-name/hmts/default.nix index 6762f508..42ac9da6 100644 --- a/plugins/by-name/hmts/default.nix +++ b/plugins/by-name/hmts/default.nix @@ -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 ]; };