diff options
| -rw-r--r-- | lua/plugins/general.lua | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lua/plugins/general.lua b/lua/plugins/general.lua index 436d534..0e3e7fc 100644 --- a/lua/plugins/general.lua +++ b/lua/plugins/general.lua @@ -8,19 +8,22 @@ return { require('lint').linters_by_ft = { tex = { 'lacheck', } } - vim.api.nvim_create_autocmd({ "BufWritePost" }, { + vim.api.nvim_create_autocmd({ 'BufWritePost' }, { callback = function() - require("lint").try_lint() + require('lint').try_lint() end, }) end, }, { - 'tpope/vim-fugitive', - event = { - 'BufReadPost', - 'BufNewFile' + 'NeogitOrg/neogit', + keys = { + { '<leader>a', function() require('neogit').open() end, desc = 'git' }, + }, + dependencies = { + 'nvim-lua/plenary.nvim', }, + config = true }, { 'ludovicchabant/vim-gutentags', |
