Release: Docs Improvements and Bug Fixes (#460)

Miscellaneous bug fixes and improvements.

docs: various improvements (#445)
fix: don't jump to file from reviewer if it doesn't exist (#452)
fix: force linewise motion in suggestion keybinding (#454)
fix: prevent error after plenary job update (#456)
fix: fix JSON on Windows (#458)
fix: remove retry logic (#449)
fix: check whether comment can be created (#434)
This commit is contained in:
Harrison (Harry) Cramer
2025-01-18 11:22:24 -05:00
committed by GitHub
parent 495e64c8bc
commit 3b396a5e6b
5 changed files with 37 additions and 9 deletions

View File

@@ -26,7 +26,11 @@ M.start = function(callback)
state.chosen_mr_iid = 0 -- Do not let this interfere with subsequent reviewer.open() calls
local settings = vim.json.encode(go_server_settings)
local command = string.format("%s '%s'", state.settings.bin, settings)
if vim.fn.has("win32") then
settings = settings:gsub('"', '\\"')
end
local command = string.format('"%s" "%s"', state.settings.bin, settings)
local job_id = vim.fn.jobstart(command, {
on_stdout = function(_, data)