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
37
38
39
40
41
42
|
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'
},
},
{
'max397574/better-escape.nvim',
lazy = false,
config = function()
require('better_escape').setup {
mapping = { 'jk' },
timeout = 0.2 * vim.o.timeoutlen,
}
end,
},
}
|