You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(types): add extension type for vim.api.keyset.set_extmark
## Details
Rather than working with opts type `vim.api.keyset.set_extmark`
directly, add an extension type `render.md.MarkOpts` which provides
more strict type definitions for:
- `virt_text`: `any[]` -> `render.md.MarkLine`
- `virt_text_pos`: `string` -> `'eol'|'inline'|'overlay'`
- `virt_lines`: `any[]` -> `render.md.MarkLine[]`
Minor other changes:
- Remove `public` scope from fields
- Rename `render.md.Text` -> `render.md.MarkText`
- Rename `render.md.Line` -> `render.md.MarkLine`
0 commit comments