runtime(vim): Update base syntax and generator, improve command/function distinction

- Match Ex command modifiers and functions with the same name correctly.
  E.g., :browse and browse().
- Match full :eval command.

closes: #17789

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-07-18 20:12:29 +02:00
committed by Christian Brabandt
parent 2e58b7684f
commit 2f7c957c8d
31 changed files with 173 additions and 73 deletions

View File

@@ -0,0 +1,14 @@
" Vim :eval command
eval "Foo"->append(0)
eval "Foo"
\ ->append(
\ 0
\ )
eval "Foo"->append(0) | echo "Foo"
echo "Foo" | eval "Foo"->append(0)