Skip to content

fix: resolves #500. Add MasonLspconfigUserSettings for setup options#511

Open
polirritmico wants to merge 1 commit intomason-org:mainfrom
polirritmico:main
Open

fix: resolves #500. Add MasonLspconfigUserSettings for setup options#511
polirritmico wants to merge 1 commit intomason-org:mainfrom
polirritmico:main

Conversation

@polirritmico
Copy link

Since the user opts passed to the setup call are extended with the DEFAULT_SETTINGS into a MasonLspconfigSettings object, there is no need to enforce all the fields.

This PR adds a MasonLspconfigUserSettings class, which is the same as MasonLspconfigSettings but with optional fields, resolving the LSP warnings for valid configurations (like the simple example in the README).

Regards.

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