We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a42c6 commit 885e958Copy full SHA for 885e958
lua/dapui/util.lua
@@ -3,7 +3,7 @@ local async = require("dapui.async")
3
4
local M = {}
5
6
-local api = vim.api
+local api = async.api
7
8
---@return function
9
function M.create_render_loop(render)
@@ -163,10 +163,10 @@ function M.partial(func, ...)
163
end
164
165
function M.send_to_repl(expression)
166
- local repl_win = vim.fn.bufwinid("[dap-repl]")
+ local repl_win = vim.fn.bufwinid("\\[dap-repl\\]")
167
if repl_win == -1 then
168
M.float_element("repl")
169
- repl_win = vim.fn.bufwinid("[dap-repl]")
+ repl_win = vim.fn.bufwinid("\\[dap-repl\\]")
170
171
api.nvim_set_current_win(repl_win)
172
vim.cmd("normal i" .. expression)
0 commit comments