mirror of
https://github.com/nix-community/nixvim.git
synced 2026-09-25 16:50:23 -04:00
plugins/hmts: fix warning
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user