diff options
Diffstat (limited to 'lua/plugins/general.lua')
| -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..d992c47 100644 --- a/lua/plugins/general.lua +++ b/lua/plugins/general.lua @@ -8,18 +8,21 @@ 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' + 'chrisgrieser/nvim-tinygit', + dependencies = { + 'stevearc/dressing.nvim', + 'rcarriga/nvim-notify', + }, + keys = { + { '<leader>a', function() require('tinygit').smartCommit({ push = true }) end, desc = 'git push' }, }, }, { |
