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