mirror of
https://github.com/mfussenegger/nvim-dap
synced 2024-09-16 14:24:03 +02:00
Drop BufWritePost for .vscode/launch.json files
The files are now instead loaded on-demand if a session is spawned
This commit is contained in:
parent
36e72ed2a6
commit
30799ffbf6
1 changed files with 0 additions and 7 deletions
|
@ -50,13 +50,6 @@ if api.nvim_create_autocmd then
|
|||
api.nvim_buf_set_lines(args.buf, 0, -1, true, lines)
|
||||
end
|
||||
})
|
||||
api.nvim_create_autocmd('BufWritePost', {
|
||||
group = launchjson_group,
|
||||
pattern = pattern,
|
||||
callback = function(args)
|
||||
require('dap.ext.vscode').load_launchjs(args.file)
|
||||
end
|
||||
})
|
||||
|
||||
api.nvim_create_autocmd("BufReadCmd", {
|
||||
group = api.nvim_create_augroup("dap-readcmds", { clear = true }),
|
||||
|
|
Loading…
Reference in a new issue