diff options
| author | Anton <halloy52@gmail.com> | 2022-12-02 11:04:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-02 12:04:45 +0100 |
| commit | 22e13f6f6999da7e4025497151e3b61d0ede7351 (patch) | |
| tree | a4572714b8f8a0d6cc4330a62d3506f197f1a1fb /lua | |
| parent | 361a172fceef1caca1e16b51a2556ec3bb73a576 (diff) | |
fix(builtin.commands): no preview for multiline description commands (#2244)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/make_entry.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua index 19e3674..ea0a8f7 100644 --- a/lua/telescope/make_entry.lua +++ b/lua/telescope/make_entry.lua @@ -1260,7 +1260,7 @@ function make_entry.gen_from_commands(opts) attrs, entry.nargs, entry.complete or "", - entry.definition, + entry.definition:gsub("\n", " "), } end |
