feat(float): add fclose command

This commit is contained in:
glepnir
2023-10-09 18:47:10 +08:00
parent 9abced6ad9
commit 372aa2eb3d
7 changed files with 226 additions and 0 deletions

View File

@@ -7357,6 +7357,12 @@ static void ex_terminal(exarg_T *eap)
do_cmdline_cmd(ex_cmd);
}
/// ":fclose"
static void ex_floatclose(exarg_T *eap)
{
win_float_remove(eap->forceit, eap->line1);
}
void verify_command(char *cmd)
{
if (strcmp("smile", cmd) != 0) {