summaryrefslogtreecommitdiff
path: root/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/init.vim b/init.vim
index 1a43a06..b29b316 100644
--- a/init.vim
+++ b/init.vim
@@ -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