mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
e5bc11e328
commit
9ef424bf79
1 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,12 @@ Open the repo of the active file in the browser (e.g., GitHub)
|
|||
end,
|
||||
---@type "repo" | "branch" | "file" | "commit"
|
||||
what = "file", -- what to open. not all remotes support all types
|
||||
---@type string?
|
||||
branch = nil,
|
||||
---@type string?
|
||||
line_start = nil,
|
||||
---@type string?
|
||||
line_end = nil,
|
||||
-- patterns to transform remotes to an actual URL
|
||||
remote_patterns = {
|
||||
{ "^(https?://.*)%.git$" , "%1" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue