fix(dap): use vim.uv for TCP sockets by khaneliman · Pull Request #507 · nvim-java/nvim-java · GitHub
Skip to content

fix(dap): use vim.uv for TCP sockets - #507

Open
khaneliman wants to merge 1 commit into
nvim-java:mainfrom
khaneliman:fix/vim-uv-dap-sockets
Open

fix(dap): use vim.uv for TCP sockets#507
khaneliman wants to merge 1 commit into
nvim-java:mainfrom
khaneliman:fix/vim-uv-dap-sockets

Conversation

@khaneliman

@khaneliman khaneliman commented Sep 1, 2026

Copy link
Copy Markdown

Summary

Create the DAP server and client sockets through vim.uv.

Why

The vim.loop alias is deprecated.

What changed

  • Replace both TCP constructors with vim.uv.new_tcp().

Testing

  • stylua --check lua/java-dap/runner.lua
  • luacheck lua/java-dap/runner.lua

Related Issue(s)

None.

Use the current libuv namespace for both DAP socket constructors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant