mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-29 03:44:14 +00:00
Merge branch 'folke:main' into discard_deps_revisited
This commit is contained in:
commit
6582ddb352
3 changed files with 4 additions and 2 deletions
|
@ -159,7 +159,7 @@ function M:open_url(path)
|
|||
end
|
||||
|
||||
function M:setup_patterns()
|
||||
local commit_pattern = "%f[%w](" .. string.rep("%w", 7) .. ")%f[%W]"
|
||||
local commit_pattern = "%f[%w](" .. string.rep("[a-f0-9]", 7) .. ")%f[%W]"
|
||||
self:on_pattern(ViewConfig.keys.hover, {
|
||||
[commit_pattern] = function(hash)
|
||||
self:diff({ commit = hash, browser = true })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue