mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-15 23:18:03 +02:00
tagbar: fix typo
This commit is contained in:
parent
f8d657c6f3
commit
6dd603a447
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue