diff options
| author | Nanderty <psopka@sopka.ch> | 2023-10-16 22:04:52 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-10-16 22:10:12 +0200 |
| commit | b78d2166bac5ad4d7f705faa2c7355f6b8d6a13e (patch) | |
| tree | cf0afc5d584f4ec8cc7d1a10e45df3cfb513c7da | |
| parent | 6f9f4aa36dd88d4fe10f43c77ad6580b470b8378 (diff) | |
| download | neovim-config-b78d2166bac5ad4d7f705faa2c7355f6b8d6a13e.tar.gz neovim-config-b78d2166bac5ad4d7f705faa2c7355f6b8d6a13e.tar.bz2 neovim-config-b78d2166bac5ad4d7f705faa2c7355f6b8d6a13e.zip | |
good old git plugin
| -rw-r--r-- | lua/plugins/general.lua | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/lua/plugins/general.lua b/lua/plugins/general.lua index d992c47..436d534 100644 --- a/lua/plugins/general.lua +++ b/lua/plugins/general.lua @@ -8,21 +8,18 @@ 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, }, { - 'chrisgrieser/nvim-tinygit', - dependencies = { - 'stevearc/dressing.nvim', - 'rcarriga/nvim-notify', - }, - keys = { - { '<leader>a', function() require('tinygit').smartCommit({ push = true }) end, desc = 'git push' }, + 'tpope/vim-fugitive', + event = { + 'BufReadPost', + 'BufNewFile' }, }, { |
