fix(builtin.commands): no preview for multiline description commands (#2244)

This commit is contained in:
Anton
2022-12-02 11:04:45 +00:00
committed by GitHub
parent 361a172fce
commit 22e13f6f69

View File

@@ -1260,7 +1260,7 @@ function make_entry.gen_from_commands(opts)
attrs,
entry.nargs,
entry.complete or "",
entry.definition,
entry.definition:gsub("\n", " "),
}
end