Files
vim-gitgutter/test
Andy Stewart 68f16eb21f Fix handling of file renames
Both `:file` and `:saveas` rename the current file.

`:file` does not write the newly named file to disk, and keeps the same
buffer.  It fires a single `BufFilePre` / `BufFilePost` pair of
autocommands:

    `BufFilePre`     buffer
    `BufFilePost`    buffer

`:saveas` does write the newly named file to disk, in a new buffer.  It
fires two pairs of `BufFilePre` / `BufFilePost` autocommands:

    `BufFilePre`     original buffer
    `BufFilePre`     new buffer
    `BufFilePost`    original buffer
    `BufFilePost`    new buffer

In both cases the cached path needs to be cleared.

See #860, #551.
Fixes #865.
2023-07-31 13:37:11 +01:00
..
2023-06-05 10:52:10 +01:00
2018-03-14 14:44:33 +00:00
2023-06-16 09:53:57 +01:00
2023-06-05 10:52:10 +01:00
2014-11-12 16:52:58 +01:00
2016-10-27 12:15:43 +02:00
2019-08-22 15:41:30 +01:00