From a6bf19966d03b9eb85d06a6f3ccfd447c501c39d Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 2 Mar 2024 22:58:22 +0100 Subject: [PATCH] plugins/tagbar: add settingsExample --- plugins/languages/tagbar.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/plugins/languages/tagbar.nix b/plugins/languages/tagbar.nix index 8e9fd4cb00..3432feb302 100644 --- a/plugins/languages/tagbar.nix +++ b/plugins/languages/tagbar.nix @@ -8,6 +8,22 @@ helpers.vim-plugin.mkVimPlugin config { name = "tagbar"; defaultPackage = pkgs.vimPlugins.tagbar; globalPrefix = "tagbar_"; - deprecateExtraConfig = true; extraPackages = [pkgs.ctags]; + + # 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 = "󰛑 "; + }; + }; }