mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
read from launch.json
This commit is contained in:
parent
f9fdb356f2
commit
d77567f226
1 changed files with 5 additions and 0 deletions
|
|
@ -69,6 +69,11 @@ return {
|
||||||
vscode.json_decode = function(str)
|
vscode.json_decode = function(str)
|
||||||
return vim.json.decode(json.json_strip_comments(str))
|
return vim.json.decode(json.json_strip_comments(str))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Extends dap.configurations with entries read from .vscode/launch.json
|
||||||
|
if vim.fn.filereadable(".vscode/launch.json") then
|
||||||
|
require("dap.ext.vscode").load_launchjs(nil, {})
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue