import { sign_unplacelist } from "https://deno.land/x/denops_std@v6.5.1/function/mod.ts";
Remove previously placed signs from one or more buffers. This
is similar to the sign_unplace()
function.
The {list} argument specifies the List of signs to remove.
Each list item is a dict with the following sign attributes:
buffer buffer name or number. For the accepted
values, see bufname()
. If not specified,
then the specified sign is removed from all
the buffers.
group sign group name. If not specified or set to an
empty string, then the global sign group is
used. If set to '*', then all the groups
including the global group are used.
id sign identifier. If not specified, then all
the signs in the specified group are removed.
Returns a List where an entry is set to 0 if the corresponding sign was successfully removed or -1 on failure.
Example:
" Remove sign with id 10 from buffer a.vim and sign
" with id 20 from buffer b.vim
call sign_unplacelist([
\ {'id' : 10, 'buffer' : "a.vim"},
\ {'id' : 20, 'buffer' : 'b.vim'},
\ ])
Can also be used as a method
:
GetSignlist()->sign_unplacelist()