mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 21:38:19 +00:00
lsp: use vim.tbl_isempty to check sign (#12190)
ref: #12164 fix #12201 sign_getdefined() returns a list, {} if the sign is not defined.
This commit is contained in:
@@ -8489,6 +8489,7 @@ static void f_sign_define(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
xfree(linehl);
|
||||
xfree(text);
|
||||
xfree(texthl);
|
||||
xfree(numhl);
|
||||
}
|
||||
|
||||
/// "sign_getdefined()" function
|
||||
|
Reference in New Issue
Block a user