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 6aab7ce commit 43695d2Copy full SHA for 43695d2
lua/dap/repl.lua
@@ -23,7 +23,6 @@ local function new_buf()
23
local buf = api.nvim_create_buf(true, true)
24
api.nvim_buf_set_name(buf, '[dap-repl]')
25
api.nvim_buf_set_option(buf, 'buftype', 'prompt')
26
- api.nvim_buf_set_option(buf, 'filetype', 'dap-repl')
27
api.nvim_buf_set_option(buf, 'omnifunc', "v:lua.require'dap.repl'.omnifunc")
28
api.nvim_buf_set_option(buf, 'buflisted', false)
29
local ok, path = pcall(api.nvim_buf_get_option, prev_buf, 'path')
@@ -53,6 +52,7 @@ local function new_buf()
53
52
end
54
})
55
+ api.nvim_buf_set_option(buf, 'filetype', 'dap-repl')
56
return buf
57
58
0 commit comments