summaryrefslogtreecommitdiffstats
path: root/lua/plugins/general.lua
blob: 436d5345782ba9cdb75483bd1b37cca2a2c1cc7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
return {
	{
		'mfussenegger/nvim-lint',
		event = {
			'BufWritePre'
		},
		config = function()
			require('lint').linters_by_ft = {
				tex = { 'lacheck', }
			}
			vim.api.nvim_create_autocmd({ "BufWritePost" }, {
				callback = function()
					require("lint").try_lint()
				end,
			})
		end,
	},
	{
		'tpope/vim-fugitive',
		event = {
			'BufReadPost',
			'BufNewFile'
		},
	},
	{
		'ludovicchabant/vim-gutentags',
		event = {
			'BufReadPost',
			'BufNewFile'
		},
	},
}