We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:map
1 parent 7b0548e commit 7770a67Copy full SHA for 7770a67
lua/blink/cmp/sources/cmdline/init.lua
@@ -244,6 +244,12 @@ function cmdline:get_completions(context, callback)
244
option_info = self.options[completion]
245
if option_info then label_details = { description = option_info.shortname } end
246
247
+ -- mappings
248
+ elseif completion_type == 'mapping' then
249
+ completion = completion:gsub('\22', '') -- remove control characters
250
+ completion = vim.fn.keytrans(completion):gsub('<lt>', '<')
251
+ filter_text, new_text = completion, completion
252
+
253
-- env variables
254
elseif completion_type == 'environment' then
255
filter_text = '$' .. completion
0 commit comments