@@ -131,21 +131,23 @@ Functions can be called without `:call`: >
131131 Using `:call ` is still possible, but this is discouraged.
132132
133133A method call without `eval ` is possible, so long as the start is an
134- identifier or can't be an Ex command. It does not work for string constants: >
134+ identifier or can't be an Ex command. It does NOT work for string constants: >
135135 myList->add(123) " works
136136 g:myList->add(123) " works
137137 [1, 2, 3]->Process() " works
138138 #{a: 1, b: 2}->Process() " works
139139 {'a': 1, 'b': 2}->Process() " works
140140 "foobar"->Process() " does NOT work
141- eval "foobar"->Process() " works
141+ ("foobar")->Process() " works
142+ 'foobar'->Process() " does NOT work
143+ ('foobar')->Process() " works
142144
143145 In case there is ambiguity between a function name and an Ex command, use ":"
144146to make clear you want to use the Ex command. For example, there is both the
145147`:substitute ` command and the `substitute ()` function. When the line starts
146148with `substitute (` this will use the function, prepend a colon to use the
147149command instead: >
148- :substitute(pattern(replacement(
150+ :substitute(pattern (replacement (
149151
150152
151153No curly braces expansion ~
0 commit comments