File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ function! OmniSharp#buffer#PerformChanges(opts, response) abort
41
41
let unload_bufnrs = []
42
42
let hidden_bak = &hidden | set hidden
43
43
let fileencoding = &fileencoding
44
+ let bomb = &bomb
44
45
for change in changes
45
46
let modificationType = get (change , ' ModificationType' , 0 )
46
47
if modificationType == 0 " Modified
@@ -50,6 +51,9 @@ function! OmniSharp#buffer#PerformChanges(opts, response) abort
50
51
call OmniSharp#buffer#Update (change )
51
52
if bufnr (' %' ) != bufnr
52
53
let c = get (change , ' Changes' , [])
54
+ if &bomb != bomb
55
+ let &bomb = bomb
56
+ endif
53
57
if len (c ) == 1 && &fileencoding != fileencoding
54
58
\ && c [0 ].StartLine == 1 && c [0 ].StartColumn == 1
55
59
\ && c [0 ].EndLine == 1 && c [0 ].EndColumn == 1
You can’t perform that action at this time.
0 commit comments