backup modular neovim

This commit is contained in:
Tiago Rodrigues 2025-05-08 20:29:23 +01:00
parent c89e2d8b63
commit 0fd02a88fc
22 changed files with 1238 additions and 866 deletions

View file

@ -47,7 +47,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.opt_local.modifiable:get() then
lint.try_lint()
end
end,
})
end,