1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-16 23:42:47 +01:00
nixvim/plugins/languages/tagbar.nix
Matt Sturgeon 1fd4b6c739
plugins: migrate defaultPackage -> package
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new
`package` argument instead of the old `defaultPackage` argument.
2024-09-04 03:29:34 +01:00

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 = "󰛑 ";
};
};
}