Skip to content

Commit e9ff669

Browse files
committed
📝 Synchronize comments with implementation
1 parent d8a57f0 commit e9ff669

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buffer/decoration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface Decoration {
6464
* }
6565
* ```
6666
*
67-
* It uses `prop_add_list` in Vim and `nvim_buf_add_highlight` in Neovim to
67+
* It uses `prop_add_list` in Vim and `nvim_buf_set_extmark` in Neovim to
6868
* decorate the buffer.
6969
*/
7070
export function decorate(
@@ -122,7 +122,7 @@ export function decorate(
122122
* }
123123
* ```
124124
*
125-
* It uses `prop_add` in Vim and `nvim_buf_add_highlight` in Neovim to decorate the
125+
* It uses `prop_remove` in Vim and `nvim_buf_clear_namespace` in Neovim to decorate the
126126
* buffer.
127127
*/
128128
export function undecorate(

0 commit comments

Comments
 (0)