Skip to content

Enhancement: fields in ToggleTermConfig with default value should be marked as optional #655

Description

@lungsin

Currently, when a config is annotated with ---@type ToggleTermConfig, the lsp displays warning that a lot of fields are missing:

Missing required fields in type `ToggleTermConfig`: `shade_filetypes`, , ....., `responsiveness` Lua Diagnostics. (missing-fields) [9, 10]

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions