feat: Adding the TSI (Tree-Sitter Install) command, changing the ui2

setup to use floating messages instead of the cmdline output, cleanup of
plugin loading.
This commit is contained in:
2026-05-27 08:25:34 -05:00
parent a587e16f1f
commit 0ff4a94a04
5 changed files with 54 additions and 50 deletions

View File

@@ -1,22 +1,17 @@
return {
'mfussenegger/nvim-lint',
config = function()
require('lint').linters_by_ft = {
yaml = { 'cfn_lint' }
}
vim.pack.add({
'https://github.com/mfussenegger/nvim-lint'
})
-- vim.api.nvim_create_autocmd({ 'BufWritePost', 'BufReadPost' }, {
-- callback = function()
-- require('lint').try_lint()
-- end,
-- })
end,
keys = {
{
';l',
function()
require('lint').try_lint()
end
},
},
require('lint').linters_by_ft = {
yaml = { 'cfn_lint' }
}
-- Run linting automatically after writing and reading a buffer
-- (A bit too often as it is with manual runs available via keymapping)
-- vim.api.nvim_create_autocmd({ 'BufWritePost', 'BufReadPost' }, {
-- callback = function()
-- require('lint').try_lint()
-- end,
-- })
vim.keymap.set('n', ';l', function() require('lint').try_lint() end)