Skip to content

fix(config): define lazydev.Config fields as optional#99

Open
cbandy wants to merge 1 commit intofolke:mainfrom
cbandy:optional-config
Open

fix(config): define lazydev.Config fields as optional#99
cbandy wants to merge 1 commit intofolke:mainfrom
cbandy:optional-config

Conversation

@cbandy
Copy link
Copy Markdown

@cbandy cbandy commented Mar 29, 2025

Description

After installing lazydev and restarting Neovim, lua_ls was working correctly (nice!) and told me I was missing required fields in my call to lazydev setup (wat!). This PR marks the fields of lazydev.Config optional to quiet the diagnostics shown below.

Related Issue(s)

Fixes #18

Screenshots

Before this change: (not my config)

Screenshot 2025-03-28 8 33 09 PM

@cbandy cbandy changed the title Define lazydev.Config fields as optional fix: define lazydev.Config fields as optional Mar 29, 2025
@cbandy cbandy changed the title fix: define lazydev.Config fields as optional fix(config): define lazydev.Config fields as optional Mar 29, 2025
@github-actions
Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 30 days with no activity.

@github-actions github-actions Bot added the stale This issue or PR has been inactive for a while label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale This issue or PR has been inactive for a while

Projects

None yet

Development

Successfully merging this pull request may close these issues.

diagnostics for missing required fields

1 participant