summaryrefslogtreecommitdiff
path: root/lua/telescope/builtin/internal.lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2021-03-30 12:32:18 +0200
committerGitHub <noreply@github.com>2021-03-30 12:32:18 +0200
commitaefc8317354426864a361d7b7d84848145d218c1 (patch)
tree97b6c1c8a7401179e1ddff8f207c5dcf07029d78 /lua/telescope/builtin/internal.lua
parent2e03f67de9eab023098bd05916bf26556520a467 (diff)
fix: no longer leaking one buffer previewer in some occasions (#664)
* fix: stop leaking last preview buffer * fix: formatting for docs * fix: async check if file is dir or not and - fix for in_fast_event when overriding file_maker * fix: filtering for space in keymaps and fzy * fix: show correct result numbers when using file_ignore_patterns * Handle early close. Caused because we actually cleaning up buffers now * cleanup * [docgen] Update doc/telescope.txt
Diffstat (limited to 'lua/telescope/builtin/internal.lua')
-rw-r--r--lua/telescope/builtin/internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua
index 18820f8..7d9d750 100644
--- a/lua/telescope/builtin/internal.lua
+++ b/lua/telescope/builtin/internal.lua
@@ -683,7 +683,7 @@ internal.keymaps = function(opts)
return {
valid = line ~= "",
value = line,
- ordinal = line.lhs .. line.rhs,
+ ordinal = utils.display_termcodes(line.lhs) .. line.rhs,
display = line.mode .. ' ' .. utils.display_termcodes(line.lhs) .. ' ' .. line.rhs
}
end