mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 21:06:46 +00:00
fix(commands): fixed plugin completion for commands
This commit is contained in:
parent
0fadb5e1ce
commit
205ce42cdc
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ function M.complete(cmd, prefix)
|
||||||
table.sort(plugins)
|
table.sort(plugins)
|
||||||
---@param key string
|
---@param key string
|
||||||
return vim.tbl_filter(function(key)
|
return vim.tbl_filter(function(key)
|
||||||
return key:find(prefix) == 1
|
return key:find(prefix, 1, true) == 1
|
||||||
end, plugins)
|
end, plugins)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue