refactor(git): URI scheme is now a git revspec, loaded via cat-file -p
This commit is contained in:
+1
-1
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user