diff --git a/plugins/languages/tagbar.nix b/plugins/languages/tagbar.nix index 982c65f9..0b3f48e0 100644 --- a/plugins/languages/tagbar.nix +++ b/plugins/languages/tagbar.nix @@ -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; + }; }