From 5825d2f6cabc852dcbf5367d631b7c6cf4516d68 Mon Sep 17 00:00:00 2001 From: luukvbaal Date: Fri, 12 May 2023 02:17:38 +0200 Subject: test(scroll_opt): fix typo in porting oldtest (#23593) --- runtime/doc/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 62afdc5830..f65ca8594c 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -411,7 +411,7 @@ use >lua extid = vim.api.nvim_buf_set_extmark(buf, ns_id, line, col_start, {end_col = col_end, hl_group = hl_group}) -- example: modify the extmark's highlight group - vim.api.nvim_buf_set_extmark(buf, ns_id, NEW_HL_GROUP, line, col_start, {end_col = col_end, hl_group = hl_group, id = extid}) + vim.api.nvim_buf_set_extmark(buf, ns_id, line, col_start, {end_col = col_end, hl_group = NEW_HL_GROUP, id = extid}) -- example: change the highlight's position vim.api.nvim_buf_set_extmark(buf, ns_id, NEW_LINE, col_start, {end_col = col_end, hl_group = NEW_HL_GROUP, id = extid}) -- cgit