Skip to content

Commit

Permalink
fix(commands): fixed plugin completion for commands
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 1, 2023
1 parent 0fadb5e commit 205ce42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazy/view/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function M.complete(cmd, prefix)
table.sort(plugins)
---@param key string
return vim.tbl_filter(function(key)
return key:find(prefix) == 1
return key:find(prefix, 1, true) == 1
end, plugins)
end

Expand Down

0 comments on commit 205ce42

Please sign in to comment.