Skip to content

Commit 5d57c40

Browse files
committed
Fix "setting non-standard global variable action" warning
Slipped through in #696
1 parent 16a1952 commit 5d57c40

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/dap.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,11 +512,10 @@ end
512512
function M.list_breakpoints(open_quickfix)
513513
local qf_list = lazy.breakpoints.to_qf_list(lazy.breakpoints.get())
514514
local current_qflist_title = vim.fn.getqflist({ title = 1 }).title
515-
action = ' '
515+
local action = ' '
516516
if current_qflist_title == DAP_QUICKFIX_TITLE then
517517
action = 'r'
518518
end
519-
520519
vim.fn.setqflist({}, action, {
521520
items = qf_list,
522521
context = DAP_QUICKFIX_CONTEXT,

0 commit comments

Comments
 (0)