Skip to content

v1.5.7

Choose a tag to compare

@ChuYanLon ChuYanLon released this 22 Jun 01:57

What's Changed

Added

  • Vim 9.0+ support — TUI now works in Vim (split window + text properties) in addition to Neovim (floating window + extmark). Auto-detects editor at runtime. New EditorAPI abstraction layer with NvimEditor / VimEditor backends, batchRender() single-RPC Vim render, timer_start(0, ...) deferred redraw. Covers 83/86 features with identical 19 keymaps.
  • excludeDeps fieldSourceStep now supports excludeDeps: string[] to filter out unwanted dependencies from source extensions. Supports prefix matching (e.g. @wdio matches @wdio/cli, @wdio/local-runner). Use with keepDeps to replace vendored/broken deps with proper npm versions.
  • Code Runner (vscode-code-runner) — added to registry as direct-api, 12 source patches for coc compatibility (createTerminal, setContext, env.shell, lineAt, outputChannel dispose+recreate, etc.)

Fixed

  • workspace.saveAll — added patch support for coc.nvim which lacks this API
  • workspaceFolders[N].uri.fsPath — converter regex didn't handle array-indexed access ([0], .find()); added patches for workspaceResolver
  • window.activeTextEditor polyfill — status bar now shows immediately on startup (added "*" to activationEvents)
  • .fileName regex — added (?<![\w$]) negative lookbehind to prevent matching _document.fileName as document.fileName, which caused this._Uri.parse(document.uri).fsPath mangling
  • .uri.fsPath regex — restricted first character to [a-zA-Z_$] to avoid matching 0.uri.fsPath from array index access
  • workspace.workspaceFolders guard — added (?:vscode\.)? prefix to handle vscode.workspace.workspaceFolders without producing vscode.(...) syntax error
  • LanguageClient transform — fixed matching NewExpression instead of CallExpression so new LanguageClient(...) is actually transformed
  • Version compatibility — fixed pre-release version comparison with NaN components
  • Balanced-parenthesis matching — for Location.create(Uri.file(...), ...), new CodeAction(...), and registerDocumentFormatProvider transforms

Changed

  • converter: bump to v1.5.7
  • plugin: bump to v1.5.7