Skip to content

Commit

Permalink
fix(ftplugin): Properly sanitize hover actions debug command (#180)
Browse files Browse the repository at this point in the history
Co-authored-by: Zachary Boehm <zboehm@menard-inc.com>
  • Loading branch information
Tired-Fox and Zachary Boehm authored Jan 22, 2024
1 parent a095a1f commit cce06ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/rust.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ end
vim.lsp.commands['rust-analyzer.debugSingle'] = function(command)
local overrides = require('rustaceanvim.overrides')
local args = command.arguments[1].args
overrides.sanitize_command_for_debugging(args)
overrides.sanitize_command_for_debugging(args.cargoArgs)
local cached_commands = require('rustaceanvim.cached_commands')
cached_commands.set_last_debuggable(args)
local rt_dap = require('rustaceanvim.dap')
Expand Down

0 comments on commit cce06ba

Please sign in to comment.