aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkotha <m@kotha.net>2018-01-16 05:45:10 +0900
committerBjörn Linse <bjorn.linse@gmail.com>2018-01-15 21:45:10 +0100
commitac87d9de697204685143ea6d4c99675e18e96609 (patch)
treec18d60b40b05322b260e26b80621558dfc4ff309
parent423d7af3df6de1ab38f9987cafc86499730da5dc (diff)
downloadrneovim-ac87d9de697204685143ea6d4c99675e18e96609.tar.gz
rneovim-ac87d9de697204685143ea6d4c99675e18e96609.tar.bz2
rneovim-ac87d9de697204685143ea6d4c99675e18e96609.zip
Fix an off-by-one error in the documentation of nvim_buf_clear_highlight (#7853)
-rw-r--r--src/nvim/api/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index fdde28f2bb..01dde9dd09 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -806,7 +806,7 @@ Integer nvim_buf_add_highlight(Buffer buffer,
/// Clears highlights from a given source group and a range of lines
///
-/// To clear a source group in the entire buffer, pass in 1 and -1 to
+/// To clear a source group in the entire buffer, pass in 0 and -1 to
/// line_start and line_end respectively.
///
/// @param buffer Buffer handle