Skip to content

feat: Add support for macOS #472

Closed

Description

@trevorhauter

Did you check docs and existing issues?

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

Neovim version (nvim -v)

NVIM v0.11.5

Operating system/version

MacOS 26.1

Describe the bug

Hello! Thanks so much for making this plugin. I'm using this for a school project on a new machine and I'm getting this error

No downloader available (wget or powershell not found)

Presumably from factory.lua

I'm on macOS and I don't have wget by default on my machine. I haven't dove into what this file is for but I'm sure we can use a macOS alternative. I will take another look at this tomorrow evening, and maybe I will be able to push a fix, but wanted to flag here in case an easy solution jumped out to somebody.

Steps To Reproduce

  1. On macOS using lazyvim, add the lazyvim install instructions from the README to your vim config
  2. An error will be thrown when trying to set up the plugin because wget is missing

Expected Behavior

The plugin should complete it's installation and start up a Java development environment

Activity

  1. logrusx commented on Jan 28, 2026

    @logrusx
    Collaborator

    Thanks to the great design @s1n7ax has crafted, it was straight forward to add a new downloader.

    @trevorhauter please test my fork and confirm if it works. If you have any other comments, please share them.

    Also, could you please make the title more descriptive. This is not a bug, it's feature request.

  2. gonzaloserrano commented on Jan 29, 2026

    @gonzaloserrano

    Same here. The fork worked for me. Lazy config:

    {
           -- 'nvim-java/nvim-java',
           'logrusx/nvim-java',
           branch = 'add-curl-downloader',
           config = function()
                   require('java').setup()
                   vim.lsp.enable('jdtls')
           end,
    }
    
  3. logrusx commented on Jan 29, 2026

    @logrusx
    Collaborator

    @gonzaloserrano great, thanks for testing it! I could only test under Linux.

  4. changed the title [-]bug:[/-] [+]feat: Add support for macOS[/+] on Jan 29, 2026
  5. trevorhauter commented on Jan 29, 2026

    @trevorhauter
    Author

    @logrusx This works for me too, thanks so much for the fix. Using the same config noted by @gonzaloserrano

  6. logrusx commented on Jan 29, 2026

    @logrusx
    Collaborator

    I'm glad that it works. Use this from my fork for now but keep an eye on the original repo. I don't know when s1n7ax will have the opportunity to look at this.

  7. TreyBastian commented on Feb 1, 2026

    @TreyBastian

    while this is getting merged, you can always brew install wget in the meantime

  8. logrusx commented on Feb 1, 2026

    @logrusx
    Collaborator

    while this is getting merged, you can always brew install wget in the meantime

    People who ask for this don't have the ability to use homebrew.

  9. TreyBastian commented on Feb 1, 2026

    @TreyBastian

    while this is getting merged, you can always brew install wget in the meantime

    People who ask for this don't have the ability to use homebrew.

    I'm not saying it's a good idea to not do this, but I'm adding an alternative option here for those who google the problem.

  10. logrusx commented on Feb 1, 2026

    @logrusx
    Collaborator

    Those who google the problem will find about homebrew.

  11. TreyBastian commented on Feb 1, 2026

    @TreyBastian

    The hostility for my attempts to help people find an alternative way to use this plugin while waiting for a PR to be merged is a little disappointing.

  12. logrusx commented on Feb 1, 2026

    @logrusx
    Collaborator

    Mind you, I don't have a Mac and I was thinking the same as you. However I googled and found out why people ask this question. Had you googled yourself, you would have known why your comments are annoying. People got a whole bunch of responses like yours while they were asking for something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions