mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
feat: allow setting remote debug via vim global
This commit is contained in:
parent
1a0c649845
commit
f7cba63456
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ vim.api.nvim_create_user_command('Connect',
|
|||
table.insert(bin_args, "--host")
|
||||
table.insert(bin_args, args.fargs[1])
|
||||
end
|
||||
if vim.g.codemp_remote_debug then
|
||||
table.insert(bin_args, "--remote-debug")
|
||||
table.insert(bin_args, vim.g.codemp_remote_debug)
|
||||
end
|
||||
if args.bang then
|
||||
table.insert(bin_args, "--debug")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue