aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorG-flat <63449095+G-flat@users.noreply.github.com>2020-10-05 15:14:50 +0800
committerGitHub <noreply@github.com>2020-10-05 15:14:50 +0800
commit1d08dfab5b057b51aed98450afd3ad1c888870ff (patch)
tree6058c5477ef2f00e18135b34c99bb61c6fc6b534 /src/nvim/api/buffer.c
parent1a49346319cafc5b8879cf6c7ce56c057467b4ee (diff)
downloadrneovim-1d08dfab5b057b51aed98450afd3ad1c888870ff.tar.gz
rneovim-1d08dfab5b057b51aed98450afd3ad1c888870ff.tar.bz2
rneovim-1d08dfab5b057b51aed98450afd3ad1c888870ff.zip
PVS/V1001: Prepare for rebase
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r--src/nvim/api/buffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index 3171b00e28..e77870dcf3 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -1531,10 +1531,10 @@ Integer nvim_buf_add_highlight(Buffer buffer,
end_line++;
}
- extmark_set(buf, ns_id, 0,
- (int)line, (colnr_T)col_start,
- end_line, (colnr_T)col_end,
- decoration_hl(hl_id), kExtmarkUndo);
+ ns_id = extmark_set(buf, ns_id, 0,
+ (int)line, (colnr_T)col_start,
+ end_line, (colnr_T)col_end,
+ decoration_hl(hl_id), kExtmarkUndo);
return src_id;
}