Daniel Siepmann
e64f6b8030
That way I can load my whole configuration as a plugin. I no longer need to explicitly set any configuration via nix as init.vim or such things.
6 lines
176 B
VimL
6 lines
176 B
VimL
augroup gitdiff
|
|
autocmd!
|
|
" Mark buffers as not modifiable, to make diffput work
|
|
autocmd BufReadPost *_REMOTE_*,*_LOCAL_*,*_BASE_* setlocal nomodifiable
|
|
augroup END
|