add vim-fugitive

This commit is contained in:
Lucas Garcia Rubio 2025-02-26 13:28:49 -03:00
parent 5636d0e913
commit 044d74b814
10 changed files with 392 additions and 16 deletions

View file

@ -7,6 +7,8 @@ return {
local lint = require 'lint'
lint.linters_by_ft = {
markdown = { 'markdownlint' },
javascript = { 'eslint_d' },
typescript = { 'eslint_d' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,
@ -41,6 +43,9 @@ return {
-- lint.linters_by_ft['terraform'] = nil
-- lint.linters_by_ft['text'] = nil
-- Enable lint virtual text, which is false by default
vim.diagnostic.config { virtual_text = true }
-- Create autocommand which carries out the actual linting
-- on the specified events.
local lint_augroup = vim.api.nvim_create_augroup('lint', { clear = true })