docs: ignore stylua stuff

This commit is contained in:
Folke Lemaitre 2024-11-06 00:42:06 +01:00
parent 6b1c636ff5
commit 8c843cba29
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 1 additions and 2 deletions

View file

@ -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" },

View file

@ -14,7 +14,6 @@
end
vim.ui.open(url)
end,
-- stylua: ignore
patterns = {
{ "^(https?://.*)%.git$" , "%1" },
{ "^git@(.+):(.+)%.git$" , "https://%1/%2" },

View file

@ -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 })