aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 3080d4960d..f874268910 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -5279,13 +5279,14 @@ int bufhl_add_hl(buf_T *buf,
}
/// Add highlighting to a buffer, bounded by two cursor positions,
-/// with an offset
-/// @param buf The buffer to add highlights to
+/// with an offset.
+///
+/// @param buf Buffer to add highlights to
/// @param src_id src_id to use or 0 to use a new src_id group,
/// or -1 for ungrouped highlight.
-/// @param hl_id Id of the highlight group to use
-/// @param lpos_start Cursor position to start the hightlighting at
-/// @param lpos_end Cursor position to end the highlighting at
+/// @param hl_id Highlight group id
+/// @param pos_start Cursor position to start the hightlighting at
+/// @param pos_end Cursor position to end the highlighting at
/// @param offset Move the whole highlighting this many columns to the right
void bufhl_add_hl_pos_offset(buf_T *buf,
int src_id,