tiny fix for unsaved command
This commit is contained in:
parent
855b52e578
commit
a041c4deb7
1 changed files with 1 additions and 0 deletions
1
vimrc
1
vimrc
|
@ -296,6 +296,7 @@ function! s:unsaved()
|
||||||
below new
|
below new
|
||||||
set modifiable
|
set modifiable
|
||||||
r #
|
r #
|
||||||
|
1,1del
|
||||||
diffthis
|
diffthis
|
||||||
au BufUnload <buffer> diffoff!
|
au BufUnload <buffer> diffoff!
|
||||||
let &filetype = l:filetype
|
let &filetype = l:filetype
|
||||||
|
|
Loading…
Reference in a new issue