tagbar: fix typo

This commit is contained in:
Pedro Alves 2023-02-14 19:50:23 +00:00
parent f8d657c6f3
commit 6dd603a447

View file

@ -16,7 +16,7 @@ with lib;
package = helpers.mkPackageOption "tagbar" pkgs.vimPlugins.tagbar;
extraConfig = helpers.mkNullOrOption types.attrs ''
The configuration options for vimtex without the 'tagbar_' prefix.
The configuration options for tagbar without the 'tagbar_' prefix.
Example: To set 'tagbar_show_tag_count' to 1, write
extraConfig = {
show_tag_count= true;
@ -26,10 +26,10 @@ with lib;
config = mkIf cfg.enable {
extraPlugins = [ cfg.package ];
extraPlugins = [ cfg.package ];
extraPackages = [ pkgs.ctags ];
extraPackages = [ pkgs.ctags ];
globals = mapAttrs' (name: value: nameValuePair ("tagbar_" + name) value) cfg.extraConfig;
};
globals = mapAttrs' (name: value: nameValuePair ("tagbar_" + name) value) cfg.extraConfig;
};
}