mirror of
https://github.com/vim/vim.git
synced 2026-04-28 06:30:09 +02:00
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:
committed by
Christian Brabandt
parent
2e58b7684f
commit
2f7c957c8d
@@ -297,6 +297,7 @@ g:substitute#substitute()
|
||||
# chained function calls
|
||||
|
||||
module.foo().bar()
|
||||
module.foo().substitute()
|
||||
|
||||
|
||||
# Issue 16721 (Vim script highlight of builtin function after |)
|
||||
@@ -312,4 +313,5 @@ if !isdirectory(&directory) | mkdir(&directory, "p") | endif
|
||||
# Issue #17766 (valid function call highlighted as error)
|
||||

|
||||
module[0].foo()
|
||||
module[0].substitute()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user