aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/python_setup.vim
diff options
context:
space:
mode:
authorBarrett Ruth <br@barrettruth.com>2026-07-31 23:52:07 -0500
committerBarrett Ruth <br@barrettruth.com>2026-08-03 15:22:25 -0500
commit886a270e7f4162933e180d3d96c3ef7ea162d4a0 (patch)
tree39dc23adf0aae24020a5e2c6da11ab6d772611e0 /runtime/plugin/python_setup.vim
parent8787b8b9b6a3c745905cd11ba93205e8da9697ed (diff)
downloadrneovim-886a270e7f4162933e180d3d96c3ef7ea162d4a0.tar.gz
rneovim-886a270e7f4162933e180d3d96c3ef7ea162d4a0.tar.bz2
rneovim-886a270e7f4162933e180d3d96c3ef7ea162d4a0.zip
refactor(zip)!: address entries with zip:// paths
Problem: `zipfile://{archive}::{entry}` is ambiguous: `::` is legal in both an archive path and an entry path, so the separator cannot be identified. Splitting at the last `::` reads archives correctly but breaks entries that contain it, and the plugin then emits buffer names it cannot read back. Solution: Address entries as `zip://{archive}/{entry}`, joining the two paths. Resolve the split by walking components: the first one that is a regular file is the archive, because a regular file cannot have children on disk. Entry paths may then contain any character, and no escaping is needed. zipPlugin.vim keeps its own scheme, so the Java ftplugin emits whichever form matches the active plugin until the legacy package is removed.
Diffstat (limited to 'runtime/plugin/python_setup.vim')
0 files changed, 0 insertions, 0 deletions