1
0
forked from aniani/vim

patch 9.0.0811: error if :echowin is preceded by a command modifier

Problem:    Error if :echowin is preceded by a command modifier.
Solution:   Do not give an error for range when there is a modifier.
            (closes #11414)
This commit is contained in:
Bram Moolenaar
2022-10-21 12:05:46 +01:00
parent 5b2a3d77d3
commit 2435adf8eb
3 changed files with 9 additions and 2 deletions

View File

@@ -2032,6 +2032,10 @@ enddef
def Test_echowindow_cmd()
var local = 'local'
echowindow 'something' local # comment
# with modifier
unsilent echowin 'loud'
# output goes in message window
popup_clear()
enddef