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

@@ -267,9 +267,11 @@ call g:substitute#substitute()
" chained function calls
call module.foo().bar()
call module.foo().substitute()
" Issue #17766 (valid function call highlighted as error)
call module[0].foo()
call module[0].substitute()