mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
docs: ignore stylua stuff
This commit is contained in:
parent
6b1c636ff5
commit
8c843cba29
3 changed files with 1 additions and 2 deletions
|
@ -22,7 +22,6 @@ Table of Contents *snacks-gitbrowse-table-of-contents*
|
|||
end
|
||||
vim.ui.open(url)
|
||||
end,
|
||||
-- stylua: ignore
|
||||
patterns = {
|
||||
{ "^(https?://.*)%.git$" , "%1" },
|
||||
{ "^git@(.+):(.+)%.git$" , "https://%1/%2" },
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
end
|
||||
vim.ui.open(url)
|
||||
end,
|
||||
-- stylua: ignore
|
||||
patterns = {
|
||||
{ "^(https?://.*)%.git$" , "%1" },
|
||||
{ "^git@(.+):(.+)%.git$" , "https://%1/%2" },
|
||||
|
|
|
@ -63,6 +63,7 @@ function M.replace(tag, readme, content)
|
|||
end
|
||||
|
||||
function M.md(str)
|
||||
str = str:gsub("\n%s*%-%-%s*stylua: ignore\n", "\n")
|
||||
local comments = {} ---@type string[]
|
||||
local lines = vim.split(str, "\n", { plain = true })
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue