Skip to content

Commit

Permalink
plugins/tagbar: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Mar 3, 2024
1 parent a6bf199 commit f3cfd84
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions tests/test-sources/plugins/languages/tagbar.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
empty = {
};

example = {
plugins.tagbar = {
enable = true;

settings = {
position = "right";
autoclose = false;
autofocus = false;
foldlevel = 2;
autoshowtag = true;
iconchars = ["" ""];
wrap = true;
show_data_type = true;
show_visibility = true;
visibility_symbols = {
public = "󰡭 ";
protected = "󱗤 ";
private = "󰛑 ";
};
show_linenumbers = true;
case_insensitive = true;
show_tag_count = true;
compact = true;
indent = true;
autopreview = false;
previewwin_pos = "belowleft";
scopestrs = {
class = "\\uf0e8";
struct = "\\uf0e8";
const = "\\uf8ff";
constant = "\\uf8ff";
enum = "\\uf702";
field = "\\uf30b";
func = "\\uf794";
function = "\\uf794";
getter = "\\ufab6";
implementation = "\\uf776";
interface = "\\uf7fe";
map = "\\ufb44";
member = "\\uf02b";
method = "\\uf6a6";
setter = "\\uf7a9";
variable = "\\uf71b";
};
};
};
};
}

0 comments on commit f3cfd84

Please sign in to comment.