You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I populate the quickfix list with the buffer content so that I obtain:
work.csv|1 col 1| work,InternalComponent.vhd
work.csv|2 col 1| work,InternalEntity.vhd
work.csv|3 col 1| work,TestEntity.vhd
Then I execute require("replacer").run() to make the quickfix list editable.
I edit it this way:
aaaawork.csv|1 col 1| work,InternalComponent.vhd
aaaawork.csv|2 col 1| work,InternalEntity.vhd
aaaawork.csv|3 col 1| work,TestEntity.vhd
Finally, I execute require("replacer").save({}) to save the changes.
As a result, the buffer filename is not updated to aaaawork.csv, which would be the expected behavior.
Also, what would happen to the final buffer filename if I edited the quickfix list this way?
aaaa\work.csv|1 col 1| work,InternalComponent.vhd
bbbb\work.csv|2 col 1| work,InternalEntity.vhd
cccc\test.csv|3 col 1| work,TestEntity.vhd
Finally, what should the path separator on Windows be in the quickfix list before saving it, so that the new buffer filename/location is updated correctly?
The text was updated successfully, but these errors were encountered:
I'm on Windows 11 Pro, using Lazyvim.
Config:
I have a buffer named
work.csv
with this content:pwd
returns:C:\Work\Test
.I populate the quickfix list with the buffer content so that I obtain:
Then I execute
require("replacer").run()
to make the quickfix list editable.I edit it this way:
Finally, I execute
require("replacer").save({})
to save the changes.As a result, the buffer filename is not updated to
aaaawork.csv
, which would be the expected behavior.Also, what would happen to the final buffer filename if I edited the quickfix list this way?
Finally, what should the path separator on Windows be in the quickfix list before saving it, so that the new buffer filename/location is updated correctly?
The text was updated successfully, but these errors were encountered: