Hi,
With 7.0f,
com! -nargs=custom,path#Foo ...
is okay (previously this was an error)
but
com! -nargs=custom,path#to#Foo ...
is still shown as an error. The following patch seems to fix this
(don't know if gmail will allow these long lines):
===================================================================
--- vim.vim (revision 10)
+++ vim.vim (working copy)
@@ -163,7 +163,7 @@
syn keyword vimUserAttrbKey contained bar ban[g]
cou[nt] ra[nge] com[plete] n[args] re[gister]
syn keyword vimUserAttrbCmplt contained augroup buffer command
dir environment event expression file function he
lp highlight mapping menu option something tag tag_listfiles var
syn keyword vimUserAttrbCmplt contained custom customlist
nextgroup=vimUserAttrbCmpltFunc,vimUserCmdError
-syn match vimUserAttrbCmpltFunc contained
",\%(\h\w*#\u\w*\|\u\w*\)"hs=s+1 nextgroup=vimUserCmdError
+syn match vimUserAttrbCmpltFunc contained
",\%(\%(\h\w*#\)*\u\w*\|\u\w*\)"hs=s+1 nextgroup=vimUserCmdError
syn case match
syn match vimUserAttrbCmplt contained "custom,\u\w*"
Another problem is that closing brackets on continuation lines are shown as
errors:
if ( a == 2 ||
\ b == 3 )
here the ) is shown as an error. I am not familiar enough with vim's syntax
commands to fix the latter problem.
Thanks,
Srinath