Merge branch 'master' of https://github.com/nvim-lua/kickstart.nvim into nvim-lua-master

This commit is contained in:
Juliano Barbosa 2024-12-30 17:19:56 -03:00
commit 96dc72136e
No known key found for this signature in database
GPG key ID: EB8B440F57360B3D
6 changed files with 119 additions and 44 deletions

View file

@ -51,7 +51,12 @@ return {
vim.api.nvim_create_autocmd({ 'BufEnter', 'BufWritePost', 'InsertLeave' }, {
group = lint_augroup,
callback = function()
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.opt_local.modifiable:get() then
lint.try_lint()
end
end,
})
end,