mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-17 16:02:48 +01:00
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new `package` argument instead of the old `defaultPackage` argument.
33 lines
586 B
Nix
33 lines
586 B
Nix
{
|
|
helpers,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
helpers.vim-plugin.mkVimPlugin {
|
|
name = "tagbar";
|
|
globalPrefix = "tagbar_";
|
|
extraPackages = [ pkgs.ctags ];
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
# TODO introduced 2024-02-12: remove 2024-04-12
|
|
deprecateExtraConfig = true;
|
|
|
|
settingsExample = {
|
|
position = "right";
|
|
autoclose = false;
|
|
autofocus = false;
|
|
foldlevel = 2;
|
|
autoshowtag = true;
|
|
iconchars = [
|
|
""
|
|
""
|
|
];
|
|
visibility_symbols = {
|
|
public = " ";
|
|
protected = " ";
|
|
private = " ";
|
|
};
|
|
};
|
|
}
|