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

fix(pack): java pack dependecy on mason-lspconfig #265

Merged
merged 17 commits into from
Jun 6, 2023

Conversation

sjcobb2022
Copy link
Contributor

@sjcobb2022 sjcobb2022 commented Jun 6, 2023

Fixes #262

Given the most recent update to the mason registry, the config no longer internally required mason. This meant that $MASON variable was not loaded into scope causing the LSP to break. By requiring mason-lspconfig as a dependency, we ensure that $MASON is set.

Also, to ensure that the debug adapter works properly, please ensure that mason is up to date using :MasonUpdateAll or <leader>pM. (I spent 20 minutes trying to figure out what was wrong).

Edit: Not sure why the changelog says there is an edit sorry. Also sorry for the messy tree

Copy link
Member

@mehalter mehalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@mehalter mehalter merged commit 4886b2b into AstroNvim:main Jun 6, 2023
Uzaaft pushed a commit that referenced this pull request Jun 11, 2023
* fix: working haskell debug adapter

* fix: lint

* fix: lint

* feat(pack): enable automatic install of haskell dap

Author: Samuel Cobb <[email protected]>
Co-Authored-By: Olivier Wittek <[email protected]>

* fix(pack): working haskell dap

Co-Authored-By: Oli <[email protected]>

* fix: api changes

* fjdsklfjdsklfklsadjfkl;dsalk;fd

* dependency on mason-lspconfig

* experimenting using just require

* no dependencies test

* add dependency on mason-lspconfig

---------

Co-authored-by: Olivier Wittek <[email protected]>
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.

astrocommunity.pack.java troubles
3 participants