diff options
author | Vladimír Čunát <v@cunat.cz> | 2019-09-24 08:15:01 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2019-09-24 08:15:01 +0200 |
commit | 192fb9d11b2d5f1ecc30eb0f5475dcff8ddf3978 (patch) | |
tree | 4f9fe2eae4371ba8ac59b9bc4f5f29ee3de34562 /pkgs/development/tools/misc | |
parent | 86b7a5654e3c5d6f06d62742a2edf5b97cb98e06 (diff) | |
parent | eab41878ac16a80b1189d5e4aeec5e037f6571db (diff) | |
download | nixlib-192fb9d11b2d5f1ecc30eb0f5475dcff8ddf3978.tar nixlib-192fb9d11b2d5f1ecc30eb0f5475dcff8ddf3978.tar.gz nixlib-192fb9d11b2d5f1ecc30eb0f5475dcff8ddf3978.tar.bz2 nixlib-192fb9d11b2d5f1ecc30eb0f5475dcff8ddf3978.tar.lz nixlib-192fb9d11b2d5f1ecc30eb0f5475dcff8ddf3978.tar.xz nixlib-192fb9d11b2d5f1ecc30eb0f5475dcff8ddf3978.tar.zst nixlib-192fb9d11b2d5f1ecc30eb0f5475dcff8ddf3978.zip |
Merge branch 'staging-next' into staging
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r-- | pkgs/development/tools/misc/ctags/wrapped.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/development/tools/misc/ctags/wrapped.nix b/pkgs/development/tools/misc/ctags/wrapped.nix index 869e7a61121d..08f8049aa8a1 100644 --- a/pkgs/development/tools/misc/ctags/wrapped.nix +++ b/pkgs/development/tools/misc/ctags/wrapped.nix @@ -27,10 +27,10 @@ with pkgs.stdenv.lib; # don't scan version control directories defaultArgs = [ - "--exclude=\.svn" - "--exclude=\.hg" - "--exclude=\.git" - "--exclude=\_darcs" + "--exclude=.svn" + "--exclude=.hg" + "--exclude=.git" + "--exclude=_darcs" "--sort=yes" ]; @@ -38,8 +38,8 @@ with pkgs.stdenv.lib; asLang = [ "--langdef=ActionScript" "--langmap=ActionScript:.as" - "--regex-ActionScript=/function[ \\t]+([A-Za-z0-9_]+)[ \\t]*\\(/\1/f,function,functions/" - "--regex-ActionScript=/function[ \\t]+(set|get)[ \\t]+([A-Za-z0-9_]+)[ \\t]*\\(/\2/p,property,properties/" + "--regex-ActionScript=/function[ \\t]+([A-Za-z0-9_]+)[ \\t]*\\(/\\1/f,function,functions/" + "--regex-ActionScript=/function[ \\t]+(set|get)[ \\t]+([A-Za-z0-9_]+)[ \\t]*\\(/\\2/p,property,properties/" "--regex-ActionScript=/interface[ \\t]+[a-z0-9_.]*([A-Z][A-Za-z0-9_]+)/\\1/i,interface,interfaces/" "--regex-ActionScript=/package[ \\t]+([^ \\t]*)/\\1/p/" "--regex-ActionScript=/class[ \\t]+[a-z0-9_.]*([A-Z][A-Za-z0-9_]+)/\\1/c,class,classes/" @@ -67,7 +67,7 @@ with pkgs.stdenv.lib; nixLang = [ "--langdef=NIX" "--langmap=NIX:.nix" - "--regex-NIX=/\([^ \\t*]*\)[ \\t]*=/\\1/f/" + "--regex-NIX=/([^ \\t*]*)[ \\t]*=/\\1/f/" ]; rubyLang = [ |