fix ctags wrapper js regex
svn path=/nixpkgs/trunk/; revision=17856
This commit is contained in:
parent
f237bad7b0
commit
87a60a6afd
@ -56,8 +56,9 @@
|
|||||||
# var foo = function () { ... }
|
# var foo = function () { ... }
|
||||||
# {
|
# {
|
||||||
# a : function () {}
|
# a : function () {}
|
||||||
|
# only recognize names up 100 characters. Else you'll be in trouble scanning compressed .js files.
|
||||||
jsLang = [
|
jsLang = [
|
||||||
"--regex-JavaScript=/([^ \\t]*)[ \\t]*:[ \\t]*function[ \\t]*\\(/\\1/f/"
|
"--regex-JavaScript=/([^ \\t]{1,100})[ \\t]*:[ \\t]*function[ \\t]*\\(/\\1/f/"
|
||||||
];
|
];
|
||||||
|
|
||||||
# find foo in "foo =", don't think we can do a lot better
|
# find foo in "foo =", don't think we can do a lot better
|
||||||
|
Loading…
x
Reference in New Issue
Block a user