Merge branch 'master' into master

This commit is contained in:
Vince Liem 2025-05-15 08:20:31 +02:00 committed by GitHub
commit 7f260e2981
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 460 additions and 294 deletions

View file

@ -30,7 +30,12 @@ return {
vim.api.nvim_create_autocmd({ 'BufEnter', 'BufWritePost', 'InsertLeave' }, {
group = lint_augroup,
callback = function()
require('lint').try_lint()
-- Only run the linter in buffers that you can modify in order to
-- avoid superfluous noise, notably within the handy LSP pop-ups that
-- describe the hovered symbol using Markdown.
if vim.bo.modifiable then
lint.try_lint()
end
end,
})
end,