Skip to content

Commit 205ce42

Browse files
committed
fix(commands): fixed plugin completion for commands
1 parent 0fadb5e commit 205ce42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/view/commands.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function M.complete(cmd, prefix)
7272
table.sort(plugins)
7373
---@param key string
7474
return vim.tbl_filter(function(key)
75-
return key:find(prefix) == 1
75+
return key:find(prefix, 1, true) == 1
7676
end, plugins)
7777
end
7878

0 commit comments

Comments
 (0)