Skip to content

Commit

Permalink
feat: remove surrounding quotes from params in cmd table
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeAbella committed Sep 22, 2024
1 parent 15d7d21 commit 9a4bed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/sf/sub/cmd_builder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function CommandBuilder:buildAsTable()
for _, param in ipairs(sortedParams) do
table.insert(cmd_tbl, param.flag)
if param.value ~= "" then
local expanded_value = string.format('"%s"', vim.fn.expandcmd(param.value))
local expanded_value = string.format('%s', vim.fn.expandcmd(param.value))
table.insert(cmd_tbl, expanded_value)
end
end
Expand Down

0 comments on commit 9a4bed3

Please sign in to comment.