diff options
author | RayHammer <mail@rayhammer.dev> | 2023-05-12 20:05:05 +0200 |
---|---|---|
committer | RayHammer <mail@rayhammer.dev> | 2023-05-12 20:05:05 +0200 |
commit | 958e4d0584f10d655c9d8aa27b0870ebcd6b11b6 (patch) | |
tree | 08fd6b97e890905d2329aac07b1f58609c998777 /init.vim | |
parent | 9d199e4c402babb605e8daaa49faec6763252894 (diff) |
Fixed Neotree not updating Git status on save
Diffstat (limited to 'init.vim')
-rw-r--r-- | init.vim | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -26,6 +26,7 @@ Plug 'bluz71/vim-moonfly-colors' " File Browsers Plug 'nvim-lua/plenary.nvim' Plug 'MunifTanjim/nui.nvim' +Plug 'nvim-tree/nvim-web-devicons' Plug 'nvim-neo-tree/neo-tree.nvim', { 'branch': 'v2.x' } Plug 'mcchrish/nnn.vim' @@ -79,7 +80,12 @@ let g:ale_linters = { let g:neoformat_enabled_cs = [ 'csharpier' ] augroup fmt autocmd! - autocmd BufWritePre * undojoin | Neoformat + autocmd BufWritePre *.cs undojoin | Neoformat +augroup END + +augroup git + au! + au BufWritePost * silent Git status augroup END " NNN settings |