Skip to content

Commit 83ebcd7

Browse files
authored
fix(dap): set sourceLanguages when using codelldb (#698)
1 parent c7cc0e0 commit 83ebcd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/rustaceanvim/config/internal.lua

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ local function load_dap_configuration(type)
5454
type = type,
5555
request = 'launch',
5656
stopOnEntry = false,
57+
sourceLanguages = type == 'codelldb' and { 'rust' },
5758
}
5859
if type == 'lldb' then
5960
---@diagnostic disable-next-line: inject-field

0 commit comments

Comments
 (0)