Skip to content

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

@lungsin

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]

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