-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpopup.j2
61 lines (45 loc) · 2.61 KB
/
popup.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
### Scope [copy](copy-scope:{{plugin.scope_index}}){: .small .button} {: .header}
{{plugin.scope}}
{% if plugin.context_backtrace %}
### Scope Context Backtrace [copy](copy-context-backtrace:{{plugin.context_backtrace_index}}){: .small .button} {: .header}
{% for ctx in plugin.context_backtrace_stack %}
**{{loop.index}}:**{: .keyword} {{ctx}}
{% endfor %}
{% endif %}
{% if plugin.pt_extent or plugin.rowcol_extent %}
### Scope Extent {: .header}
{% if plugin.pt_extent %}
**pts:**{: .keyword} ({{plugin.extent_start}}, {{plugin.extent_end}}) [copy](copy-points:{{plugin.extent_pt_index}}){: .small .button}
{% endif %}
{% if plugin.pt_extent or plugin.rowcol_extent %}
**line:char:**{: .keyword} ({{plugin.l_start}}:{{plugin.c_start}}, {{plugin.l_end}}:{{plugin.c_end}}) [copy](copy-line-char:{{plugin.line_char_index}}){: .small .button}
{% endif %}
{% endif %}
{% if plugin.appearance %}
### Appearance {: .header}
**fg:**{: .keyword} {{plugin.fg_preview}} {{plugin.fg_color}} [copy](copy-fg:{{plugin.fg_index}}){: .small .button}
{% if plugin.fg_sim %}
**fg (simulated alpha):**{: .keyword} {{plugin.fg_sim_preview}} {{plugin.fg_sim_color}} [copy](copy-fg-sim:{{plugin.fg_sim_index}}){: .small .button}
{% endif %}
{% if plugin.fg_hash %}
**hashed fg:**{: .keyword} {{plugin.fg_hash_preview}} {{plugin.fg_hash_color}} [copy](copy-fg-hash:{{plugin.fg_hash_index}}){: .small .button}
{% endif %}
{% if plugin.fg_hash_sim %}
**hashed fg (simulated alpha):**{: .keyword} {{plugin.fg_hash_sim_preview}} {{plugin.fg_hash_sim_color}} [copy](copy-fg-hash-sim:{{plugin.fg_hash_sim_index}}){: .small .button}
{% endif %}
**bg:**{: .keyword} {{plugin.bg_preview}} {{plugin.bg_color}} [copy](copy-bg:{{plugin.bg_index}}){: .small .button}
{% if plugin.bg_sim %}
**bg (simulated alpha):**{: .keyword} {{plugin.bg_sim_preview}} {{plugin.bg_sim_color}} [copy](copy-bg-sim:{{plugin.bg_sim_index}}){: .small .button}
{% endif %}
**style:**{: .keyword} {{plugin.style_open}}{{plugin.style}}{{plugin.style_close}} [copy](copy-style:{{plugin.style_index}}){: .small .button}
{% endif %}
{% if plugin.files %}
### Files {: .header}
**syntax:**{: .keyword} [{{plugin.syntax}}](syntax) [copy](copy-syntax:{{plugin.syntax_index}}){: .small .button}
{% if plugin.scheme %}
**scheme:**{: .keyword} [{{plugin.scheme}}](scheme) [copy](copy-scheme:{{plugin.scheme_index}}){: .small .button}
{% endif %}
{% for item in plugin.overrides %}
**scheme {{loop.index}}:**{: .keyword} [{{item}}](override:{{plugin.overrides_index}}:{{loop.index}}) [copy](copy-overrides:{{plugin.overrides_index}}:{{loop.index}}){: .small .button}
{% endfor %}
{% endif %}