Skip to content

Commit

Permalink
fix(config/dap): use absolute path to debug adapter if available
Browse files Browse the repository at this point in the history
Update lua/rustaceanvim/config/internal.lua

Co-authored-by: Marc Jakobi <[email protected]>

Update lua/rustaceanvim/config/internal.lua

Co-authored-by: Marc Jakobi <[email protected]>
  • Loading branch information
BirdeeHub and mrcjkb committed Feb 3, 2025
1 parent af621be commit 09d1866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/rustaceanvim/config/internal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ local RustaceanDefaultConfig = {
host = '127.0.0.1',
port = '${port}',
executable = {
command = 'codelldb',
command = exepath_or_binary('codelldb'),
args = { '--port', '${port}' },
},
}
Expand All @@ -376,7 +376,7 @@ local RustaceanDefaultConfig = {
---@cast result rustaceanvim.dap.executable.Config
result = {
type = 'executable',
command = command,
command = exepath_or_binary(command),
name = 'lldb',
}
end
Expand Down

0 comments on commit 09d1866

Please sign in to comment.