mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
runtime(vim): Update base syntax, fix mismtatched :def return type
Anchor the return type separator ':' with a lookbehind as the relevant nextgroup options use skipwhite. closes: #20319 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
3a90b2ba8e
commit
dfdeba16d7
@@ -124,3 +124,10 @@ enddef
|
||||
silent! def Foo()
|
||||
enddef
|
||||
|
||||
|
||||
" Unreported issue (return type colon must follow immediately after closing parameter-list paren)
|
||||
|
||||
def Foo()
|
||||
: echo "not a mismatched return type"
|
||||
enddef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user