toggleterm.nvim icon indicating copy to clipboard operation
toggleterm.nvim copied to clipboard

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

Open lungsin opened this issue 4 months ago • 0 comments

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]

lungsin avatar Oct 16 '25 10:10 lungsin