File tree Expand file tree Collapse file tree 1 file changed +36
-20
lines changed
tests/test-sources/plugins/by-name/dap-view Expand file tree Collapse file tree 1 file changed +36
-20
lines changed Original file line number Diff line number Diff line change 6
6
defaults = {
7
7
plugins . dap-view = {
8
8
enable = true ;
9
+
9
10
settings = {
10
11
winbar = {
11
12
show = true ;
25
26
short_label = " [B]" ;
26
27
action . __raw = ''
27
28
function()
28
- views.switch_to_view("breakpoints")
29
+ require("dap-view. views") .switch_to_view("breakpoints")
29
30
end
30
31
'' ;
31
32
} ;
35
36
short_label = " [S]" ;
36
37
action . __raw = ''
37
38
function()
38
- views.switch_to_view("scopes")
39
+ require("dap-view. views") .switch_to_view("scopes")
39
40
end
40
41
'' ;
41
42
} ;
45
46
short_label = " [E]" ;
46
47
action . __raw = ''
47
48
function()
48
- views.switch_to_view("exceptions")
49
+ require("dap-view. views") .switch_to_view("exceptions")
49
50
end
50
51
'' ;
51
52
} ;
55
56
short_label = " [W]" ;
56
57
action . __raw = ''
57
58
function()
58
- views.switch_to_view("watches")
59
+ require("dap-view. views") .switch_to_view("watches")
59
60
end
60
61
'' ;
61
62
} ;
65
66
short_label = " [T]" ;
66
67
action . __raw = ''
67
68
function()
68
- views.switch_to_view("threads")
69
+ require("dap-view. views") .switch_to_view("threads")
69
70
end
70
71
'' ;
71
72
} ;
79
80
end
80
81
'' ;
81
82
} ;
83
+ sessions = {
84
+ keymap = "K" ;
85
+ label = "Sessions [K]" ;
86
+ short_label = " [K]" ;
87
+ action . __raw = ''
88
+ function()
89
+ require("dap-view.views").switch_to_view("sessions")
90
+ end
91
+ '' ;
92
+ } ;
82
93
console = {
83
94
keymap = "C" ;
84
95
label = "Console [C]" ;
85
96
short_label = " [C]" ;
86
97
action . __raw = ''
87
98
function()
88
- require("dap-view.term").show()
99
+ require("dap-view.term").show()
89
100
end
90
101
'' ;
91
102
} ;
92
103
} ;
93
- custom_sections = { } ;
104
+ custom_sections = [ ] ;
94
105
controls = {
95
106
enabled = false ;
96
107
position = "right" ;
104
115
"terminate"
105
116
"disconnect"
106
117
] ;
107
- icons = {
108
- pause = "" ;
109
- play = "" ;
110
- step_into = "" ;
111
- step_over = "" ;
112
- step_out = "" ;
113
- step_back = "" ;
114
- run_last = "" ;
115
- terminate = "" ;
116
- disconnect = "" ;
117
- } ;
118
- custom_buttons = { } ;
118
+ custom_buttons = [ ] ;
119
119
} ;
120
120
} ;
121
121
windows = {
124
124
terminal = {
125
125
width = 0.5 ;
126
126
position = "left" ;
127
- hide = [ ] ;
127
+ hide = { } ;
128
128
start_hidden = false ;
129
129
} ;
130
130
} ;
131
+ icons = {
132
+ disabled = "" ;
133
+ disconnect = "" ;
134
+ enabled = "" ;
135
+ filter = "" ;
136
+ negate = " " ;
137
+ pause = "" ;
138
+ play = "" ;
139
+ run_last = "" ;
140
+ step_back = "" ;
141
+ step_into = "" ;
142
+ step_out = "" ;
143
+ step_over = "" ;
144
+ terminate = "" ;
145
+ } ;
131
146
help = {
132
147
border = null ;
133
148
} ;
134
149
switchbuf = "usetab" ;
135
150
auto_toggle = false ;
151
+ follow_tab = false ;
136
152
} ;
137
153
} ;
138
154
} ;
You can’t perform that action at this time.
0 commit comments