mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/hmts: fix warning
This commit is contained in:
parent
4d8b9aa55f
commit
551fc90797
1 changed files with 3 additions and 4 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue