diff options
| author | Nanderty <psopka@sopka.ch> | 2023-10-16 22:10:26 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-10-16 22:10:26 +0200 |
| commit | e6981a8008856292f6eaae74322699220599f9b7 (patch) | |
| tree | 0eb3e5165615a4e7161b06fc2d9d19bc648aa08d /lua | |
| parent | b78d2166bac5ad4d7f705faa2c7355f6b8d6a13e (diff) | |
| download | neovim-config-e6981a8008856292f6eaae74322699220599f9b7.tar.gz neovim-config-e6981a8008856292f6eaae74322699220599f9b7.tar.bz2 neovim-config-e6981a8008856292f6eaae74322699220599f9b7.zip | |
new shiny git plugin
Diffstat (limited to '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..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', |
