akinsho / akinsho/toggleterm.nvim

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

Open
#655 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
5.6k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

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]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.