remove un-used setup in breakpoint save
This commit is contained in:
parent
669ad39639
commit
73eed9e67b
@ -131,11 +131,11 @@ M.save_brks = function()
|
||||
local cfg, fld = require("go.project").setup()
|
||||
for bufnr, bk in pairs(bks) do
|
||||
local uri = vim.uri_from_bufnr(bufnr)
|
||||
local _bk ={}
|
||||
local _bk = {}
|
||||
for _, value in pairs(bk) do
|
||||
table.insert(_bk, {line = value.line})
|
||||
table.insert(_bk, { line = value.line })
|
||||
end
|
||||
all_bks[uri] = bk
|
||||
all_bks[uri] = _bk
|
||||
end
|
||||
local bkfile = fld .. utils.sep() .. "breakpoints.lua"
|
||||
local writeStr = "return " .. vim.inspect(all_bks)
|
||||
|
Loading…
Reference in New Issue
Block a user