nvim-flutter / flutter-tools.nvim

Tools to help create flutter apps in neovim using the native lsp
MIT License
1.05k stars 84 forks source link

Add this package to mason.nvim registry #176

Closed ArbazIrshad closed 2 years ago

ArbazIrshad commented 2 years ago

I am using AstroNvim which uses mason.nvim as a Lsp package manager. Can this package be registered to the mason registry so that I can install it through mason?

akinsho commented 2 years ago

@ArbazIrshad I don't think that makes much sense. Mason is for installing packages, not plugins. This is a plugin, so should be installed with a plugin manager like packer. It doesn't ship any binaries or anything like that. I believe this is likely a misunderstanding.

akinsho commented 2 years ago

Closing this out since my comment should answer this question and I've heard nothing back

jetaggart commented 2 years ago

@akinsho I can't install this in astrovim due to it not existing on mason.nvim.

akinsho commented 2 years ago

@bit-void as I mentioned before, this is a neovim plugin, not a binary or some other type of tool that mason.nvim would handle. mason.nvim does not install plugins like this. I think you as the OP did you have also misunderstood how this plugin works and how the neovim ecosystem generally works. Please raise an issue in astrovim's repository about any issues relating to using it with this plugin. As I mentioned, what you are describing doesn't really make sense.

jetaggart commented 2 years ago

@akinsho You're probably right, just struggling, thank you and sorry for the noise. For any future people that stumble on this, I found a convenient snippet on astrovim's wiki on how to configure this plugin: https://astronvim.github.io/Recipes/advanced_lsp