refactor(git): URI scheme is now a git revspec, loaded via cat-file -p

This commit is contained in:
2026-04-28 13:20:38 +02:00
parent a0c87b9b7b
commit 68f2ad1b52
6 changed files with 55 additions and 56 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ function M.setup()
end
vim.filetype.add({
pattern = {
["git://.-//(.+)"] = function(_, bufnr, inner)
["git://.*:([^:]+)$"] = function(_, bufnr, inner)
return vim.filetype.match({ filename = inner, buf = bufnr })
end,
},