mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
refactor: update path to xdiff in comments
This commit is contained in:
@@ -53,8 +53,8 @@ static int write_string(void *priv, mmbuffer_t *mb, int nbuf)
|
|||||||
static int hunk_locations_cb(long start_a, long count_a, long start_b, long count_b, void *cb_data)
|
static int hunk_locations_cb(long start_a, long count_a, long start_b, long count_b, void *cb_data)
|
||||||
{
|
{
|
||||||
// Mimic extra offsets done by xdiff, see:
|
// Mimic extra offsets done by xdiff, see:
|
||||||
// src/nvim/xdiff/xemit.c:284
|
// src/xdiff/xemit.c:284
|
||||||
// src/nvim/xdiff/xutils.c:(356,368)
|
// src/xdiff/xutils.c:(356,368)
|
||||||
if (count_a > 0) {
|
if (count_a > 0) {
|
||||||
start_a += 1;
|
start_a += 1;
|
||||||
}
|
}
|
||||||
@@ -83,8 +83,8 @@ static int hunk_locations_cb(long start_a, long count_a, long start_b, long coun
|
|||||||
static int call_on_hunk_cb(long start_a, long count_a, long start_b, long count_b, void *cb_data)
|
static int call_on_hunk_cb(long start_a, long count_a, long start_b, long count_b, void *cb_data)
|
||||||
{
|
{
|
||||||
// Mimic extra offsets done by xdiff, see:
|
// Mimic extra offsets done by xdiff, see:
|
||||||
// src/nvim/xdiff/xemit.c:284
|
// src/xdiff/xemit.c:284
|
||||||
// src/nvim/xdiff/xutils.c:(356,368)
|
// src/xdiff/xutils.c:(356,368)
|
||||||
if (count_a > 0) {
|
if (count_a > 0) {
|
||||||
start_a += 1;
|
start_a += 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user