From e9ff6699b3072ef4de724d7c79511e25119517e8 Mon Sep 17 00:00:00 2001 From: blyoa Date: Sun, 28 Sep 2025 21:46:34 +0900 Subject: [PATCH] :memo: Synchronize comments with implementation --- buffer/decoration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buffer/decoration.ts b/buffer/decoration.ts index 4d1ddb4..50c8565 100644 --- a/buffer/decoration.ts +++ b/buffer/decoration.ts @@ -64,7 +64,7 @@ export interface Decoration { * } * ``` * - * It uses `prop_add_list` in Vim and `nvim_buf_add_highlight` in Neovim to + * It uses `prop_add_list` in Vim and `nvim_buf_set_extmark` in Neovim to * decorate the buffer. */ export function decorate( @@ -122,7 +122,7 @@ export function decorate( * } * ``` * - * It uses `prop_add` in Vim and `nvim_buf_add_highlight` in Neovim to decorate the + * It uses `prop_remove` in Vim and `nvim_buf_clear_namespace` in Neovim to decorate the * buffer. */ export function undecorate(