Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
modify SilentUpdate to only write if the buffer is modified
Browse files Browse the repository at this point in the history
continuation of #614
  • Loading branch information
ervandew committed Mar 13, 2021
1 parent f112e3f commit 8bcbe33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org.eclim.core/vim/eclim/autoload/eclim/lang.vim
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ function! eclim#lang#SilentUpdate(...) " {{{
endif
endif
else
if a:0 < 2 || a:2
if (a:0 < 2 || a:2) && &modified
silent noautocmd write
endif
endif
Expand Down

0 comments on commit 8bcbe33

Please sign in to comment.