Open KarthikKaravatt opened 8 months ago
There are 3 kinds of selection change. https://code.visualstudio.com/api/references/vscode-api#TextEditorSelectionChangeKind Mouse, Keyboard, and Command. I guess vim extension is Command
Command is currently ignored to avoid loops. We may only accept Command
when the editor is on focus to fix vim plugin
Describe the bug Preview does not scroll when using the vscode nvim extension. This is the case for both the scroll on onSelectionChange and onSelctionChangeByMouse
To Reproduce Steps to reproduce the behavior (Library test):
Expected behavior The preview should scroll
Package/Software version:
VSCode version(Help -> About):
typst-preview extension version:
v0.7.3
Logs:
typst-preview server log(Output Panel -> typst-preview):
typst-preview client log(Help -> Toggle Developer Tools -> Console):
Additional context Add any other context about the problem here.