forked from aniani/vim
patch 8.2.3363: when :edit reuses the current buffer the alternate file is set
Problem: When :edit reuses the current buffer the alternate file is set to the same buffer. Solution: Only set the alternate file when not reusing the buffer. (closes #8783)
This commit is contained in:
@@ -3495,7 +3495,7 @@ def Test_vim9_comment_gui()
|
||||
CheckScriptFailure([
|
||||
'vim9script',
|
||||
'gui -f#comment'
|
||||
], 'E499:')
|
||||
], 'E194:')
|
||||
enddef
|
||||
|
||||
def Test_vim9_comment_not_compiled()
|
||||
|
Reference in New Issue
Block a user