Skip to content

Commit f809b32

Browse files
authored
fix(dap): dap.configuration.program type check
1 parent fd3a47f commit f809b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rustaceanvim/config/check.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function M.validate(cfg)
144144
name = { configuration.name, 'string' },
145145
request = { configuration.request, 'string' },
146146
cwd = { configuration.cwd, 'string', true },
147-
program = { configuration.program, 'string', true },
147+
program = { configuration.program, { 'string', 'function' }, true },
148148
args = { configuration.args, 'table', true },
149149
env = { configuration.env, 'table', true },
150150
initCommands = { configuration.initCommands, 'string', true },

0 commit comments

Comments
 (0)