066343f60a
subrepo: subdir: "dotfiles/.vim/plugged/vim-javascript" merged: "c470ce13" upstream: origin: "https://github.com/pangloss/vim-javascript.git" branch: "master" commit: "c470ce13" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
8 lines
409 B
Text
8 lines
409 B
Text
--langdef=js
|
|
--langmap=js:.js
|
|
--regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\{/\1/,object/
|
|
--regex-js=/([A-Za-z0-9._$()]+)[ \t]*[:=][ \t]*function[ \t]*\(/\1/,function/
|
|
--regex-js=/function[ \t]+([A-Za-z0-9._$]+)[ \t]*([^)])/\1/,function/
|
|
--regex-js=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\[/\1/,array/
|
|
--regex-js=/([^= ]+)[ \t]*=[ \t]*[^"]'[^']*/\1/,string/
|
|
--regex-js=/([^= ]+)[ \t]*=[ \t]*[^']"[^"]*/\1/,string/
|