Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:%! truncates the file #9065

Open
smolin opened this issue Jun 7, 2024 · 0 comments
Open

:%! truncates the file #9065

smolin opened this issue Jun 7, 2024 · 0 comments

Comments

@smolin
Copy link

smolin commented Jun 7, 2024

Type: Bug

Start with a large file, like /usr/share/dict/words. Check the file length in lines, 235976 in my case.

In the VS Code editor with vim plugin active, enter :%!cat which should have no effect on the buffer.

Notice that the file length is now much shorter - 100826 lines in my case.

Extension version: 1.27.3
VS Code version: Code 1.90.0 (Universal) (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:34:44.157Z)
OS version: Darwin x64 23.5.0
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.01GB free)
Process Argv
Screen Reader no
VM 0%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant