Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Error message about loop vs ev in neovim 0.9 #513

Closed
3 tasks done
timborodin opened this issue Jun 19, 2024 · 0 comments · Fixed by #515
Closed
3 tasks done

bug: Error message about loop vs ev in neovim 0.9 #513

timborodin opened this issue Jun 19, 2024 · 0 comments · Fixed by #515
Labels
bug Something isn't working

Comments

@timborodin
Copy link
Contributor

timborodin commented Jun 19, 2024

Did you check docs and existing issues?

  • I have read all the trouble.nvim docs
  • I have searched the existing issues of trouble.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.9.5

Operating system/version

Fedora

Describe the bug

Error is shown when Trouble is used.
Introduced in recent commit it seems, in utils.lua:

function M.is_win()
  return vim.uv.os_uname().sysname:find("Windows") ~= nil
end

Should use local uv variable here instead of vim.uv it seems. Fixing it locally fixes error message.

Thank you!

Steps To Reproduce

do Trouble lsp_references in neovim 0.9.5

Expected Behavior

No errors shown

Repro

No response

@timborodin timborodin added the bug Something isn't working label Jun 19, 2024
@folke folke closed this as completed in 1acfb6c Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant