0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 8.2.1378: cannot put space between function name and paren

Problem:    Cannot put space between function name and paren.
Solution:   Allow this for backwards compatibility.
This commit is contained in:
Bram Moolenaar
2020-08-06 11:23:36 +02:00
parent b8d732e93e
commit bbd3e3c357
4 changed files with 15 additions and 1 deletions

View File

@@ -599,6 +599,11 @@ func Test_expr_eval_error()
call assert_fails("let v = -{}", 'E728:')
endfunc
func Test_white_in_function_call()
let text = substitute ( 'some text' , 't' , 'T' , 'g' )
call assert_equal('some TexT', text)
endfunc
" Test for float value comparison
func Test_float_compare()
CheckFeature float