mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-08 03:55:04 +02:00
Updated nvim config.
This commit is contained in:
parent
c7d0ad1a98
commit
a8e4704fde
5 changed files with 228 additions and 57 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue