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

(cherry picked from commit 22e13f6f69)
This commit is contained in:
Anton
2022-12-02 11:04:45 +00:00
committed by Simon Hauser
parent 2bf2d10d19
commit a837cbdbe6
+1 -1
View File
@@ -1240,7 +1240,7 @@ function make_entry.gen_from_commands(opts)
attrs,
entry.nargs,
entry.complete or "",
entry.definition,
entry.definition:gsub("\n", " "),
}
end