summaryrefslogtreecommitdiffstats
path: root/lua/plugins/general.lua
blob: c80934c271fd23f035d21afebcabd113fd02f5c9 (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
33
34
35
36
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,
	},
	{

		'NeogitOrg/neogit',
		keys = {
			{ '<leader>a', function() require('neogit').open() end, desc = 'git' },
		},
		dependencies = {
			'nvim-lua/plenary.nvim',
		},
	  config = true
	},
	{
		'ludovicchabant/vim-gutentags',
		event = {
			'BufReadPost',
			'BufNewFile'
		},
	},
}