Skip to content

Commit

Permalink
fix(dap): remove deprecated function call
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jan 27, 2025
1 parent 04ec0da commit 19f9c77
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/rustaceanvim/config/internal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ local function load_dap_configuration(type)
-- It is necessary to check for changes in the `dap.configurations` table, as
-- `load_launchjs` does not return anything, it loads directly into `dap.configurations`.
local pre_launch = vim.deepcopy(dap.configurations) or {}
require('dap.ext.vscode').load_launchjs(nil, { lldb = { 'rust' }, codelldb = { 'rust' } })
for name, configuration_entries in pairs(dap.configurations) do
if pre_launch[name] == nil or not vim.deep_equal(pre_launch[name], configuration_entries) then
-- `configurations` are tables of `configuration` entries
Expand Down

0 comments on commit 19f9c77

Please sign in to comment.