Replies: 2 comments
|
As a stopgap measure, this appears to work: vim.api.nvim_create_autocmd("FileType", {
pattern = { "markdown.gh" },
callback = function()
vim.diagnostic.config({ virtual_text = false })
end,
}) |
0 replies
|
Doesn't work? return {
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
-- ["markdown"] = { "markdownlint-cli2" },
["markdown.gh"] = {},
},
-- linters = {
-- ["markdownlint-cli2"] = {},
-- },
},
}But overall, it's a good point, so perhaps this should be the default. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Thank you for writing snacks.gh!
I find it distracting (and not very useful) to see markdownlint error messages when opening an issue or pr with snacks.gh (they seem to be treated as markdown files). I'm using LazyVim. How can I disable markdownlint-cli2 for issue/pr views without disabling it for all markdown files?
Thanks!
All reactions