Motivation
lua/code-preview/init.lua defines five deprecated aliases via deprecated_alias():
ClaudePreviewInstallHooks → CodePreviewInstallClaudeCodeHooks
ClaudePreviewUninstallHooks → CodePreviewUninstallClaudeCodeHooks
ClaudePreviewCloseDiff → CodePreviewCloseDiff
ClaudePreviewStatus → CodePreviewStatus
ClaudePreviewToggleVisibleOnly → CodePreviewToggleVisibleOnly
Comment in code: Deprecated aliases (remove after one release cycle). They have warned on every invocation for long enough; time to remove.
Scope
- Delete the
deprecated_alias helper and its five invocations from lua/code-preview/init.lua.
- Verify there are no internal references (tests, docs, CLAUDE.md) to the old names.
- Mention the removal in release notes for the next minor version.
Out of scope
Acceptance
- Old commands no longer exist;
:ClaudePreviewStatus returns E492: Not an editor command.
- New commands continue to work unchanged.
Motivation
lua/code-preview/init.luadefines five deprecated aliases viadeprecated_alias():ClaudePreviewInstallHooks→CodePreviewInstallClaudeCodeHooksClaudePreviewUninstallHooks→CodePreviewUninstallClaudeCodeHooksClaudePreviewCloseDiff→CodePreviewCloseDiffClaudePreviewStatus→CodePreviewStatusClaudePreviewToggleVisibleOnly→CodePreviewToggleVisibleOnlyComment in code:
Deprecated aliases (remove after one release cycle). They have warned on every invocation for long enough; time to remove.Scope
deprecated_aliashelper and its five invocations fromlua/code-preview/init.lua.Out of scope
Acceptance
:ClaudePreviewStatusreturnsE492: Not an editor command.