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.
~
1 parent 4ae97d1 commit 72a5908Copy full SHA for 72a5908
lua/blink/cmp/sources/cmdline/init.lua
@@ -195,6 +195,7 @@ function cmdline:get_completions(context, callback)
195
196
-- path completion in commands, e.g. `chdir <path>` and options, e.g. `:set directory=<path>`
197
elseif is_path_completion then
198
+ if current_arg == '~' then label = completion end
199
filter_text = path_lib.basename_with_sep(completion)
200
new_text = vim.fn.fnameescape(completion)
201
if arguments[1] == 'set' then
0 commit comments