.ctags 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. --exclude=*.min.js
  2. --exclude=node_modules
  3. --langdef=JavaScript
  4. --langmap=JavaScript:.js
  5. --regex-JavaScript=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\{/\1/,object/
  6. --regex-JavaScript=/([A-Za-z0-9._$()]+)[ \t]*[:=][ \t]*function[ \t]*\(/\1/,function/
  7. --regex-JavaScript=/function[ \t]+([A-Za-z0-9._$]+)[ \t]*\(([^)])\)/\1/,function/
  8. --regex-JavaScript=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\[/\1/,array/
  9. --regex-JavaScript=/([^= ]+)[ \t]*=[ \t]*[^"]'[^']*/\1/,string/
  10. --regex-JavaScript=/([^= ]+)[ \t]*=[ \t]*[^']"[^"]*/\1/,string/
  11. --langdef=CoffeeScript
  12. --langmap=CoffeeScript:.coffee
  13. --regex-CoffeeScript=/^[ \t]*(@?[a-zA-Z$_\.0-9]+)[ \t]*(=|\:)[ \t]*(\(.*\))?[ \t]*(-|=)>/\1/f,function/
  14. --regex-CoffeeScript=/^[ \t]*([a-zA-Z$_0-9]+\:\:[a-zA-Z$_\.0-9]+)[ \t]*(=|\:)[ \t]*(\(.*\))?[ \t]*(-|=)>/\1/f,function/
  15. --regex-CoffeeScript=/^[ \t]*describe[ \t]"(.+)"[ \t]*,[ \t]+[-=]>/\1/f,function/
  16. --regex-CoffeeScript=/^[ \t]*describe[ \t]'(.+)'[ \t]*,[ \t]+[-=]>/\1/f,function/
  17. --regex-CoffeeScript=/^[ \t]*it[ \t]"([^"]+)"[ \t]*,[ \t]+[-=]>/\1/f,function/
  18. --regex-CoffeeScript=/^[ \t]*it[ \t]'([^']+)'[ \t]*,[ \t]+[-=]>/\1/f,function/
  19. --regex-CoffeeScript=/^[ \t]*f+describe[ \t]"(.+)"[ \t]*,[ \t]+[-=]>/focused\: \1/f,function/
  20. --regex-CoffeeScript=/^[ \t]*f+describe[ \t]'(.+)'[ \t]*,[ \t]+[-=]>/focused: \1/f,function/
  21. --regex-CoffeeScript=/^[ \t]*f+it[ \t]"([^"]+)"[ \t]*,[ \t]+[-=]>/focused: \1/f,function/
  22. --regex-CoffeeScript=/^[ \t]*f+it[ \t]'([^']+)'[ \t]*,[ \t]+[-=]>/focused: \1/f,function/
  23. --regex-CoffeeScript=/^[ \t]*xdescribe[ \t]"(.+)"[ \t]*,[ \t]+[-=]>/disabled\: \1/f,function/
  24. --regex-CoffeeScript=/^[ \t]*xdescribe[ \t]'(.+)'[ \t]*,[ \t]+[-=]>/disabled: \1/f,function/
  25. --regex-CoffeeScript=/^[ \t]*xit[ \t]"([^"]+)"[ \t]*,[ \t]+[-=]>/disabled: \1/f,function/
  26. --regex-CoffeeScript=/^[ \t]*xit[ \t]'([^']+)'[ \t]*,[ \t]+[-=]>/disabled: \1/f,function/
  27. --regex-CoffeeScript=/^[ \t]*class[ \t]*([a-zA-Z$_\.0-9]+)[ \t]*/\1/f,function/
  28. --langdef=Css
  29. --langmap=Css:.css
  30. --langmap=Css:+.less
  31. --langmap=Css:+.scss
  32. --regex-Css=/^[ \t]*(.+)[ \t]*\{/\1/f,function/
  33. --regex-Css=/^[ \t]*(.+)[ \t]*,[ \t]*$/\1/f,function/
  34. --langdef=Sass
  35. --langmap=Sass:.sass
  36. --regex-Sass=/^[ \t]*([#.]*[a-zA-Z_0-9]+)[ \t]*$/\1/f,function/
  37. --langdef=Less
  38. --langmap=Less:.less
  39. --regex-Less=/^[ t]*.([A-Za-z0-9_-]+)/1/c,class,classes/
  40. --regex-Less=/^[ t]*#([A-Za-z0-9_-]+)/1/i,id,ids/
  41. --regex-Less=/^[ t]*(([A-Za-z0-9_-]+[ tn,]+)+){/1/t,tag,tags/
  42. --regex-Less=/^[ t]*@medias+([A-Za-z0-9_-]+)/1/m,media,medias/
  43. --langdef=Yaml
  44. --langmap=Yaml:.yaml
  45. --langmap=Yaml:+.yml
  46. --regex-Yaml=/^[ \t]*([a-zA-Z_0-9 ]+)[ \t]*\:[ \t]*/\1/f,function/
  47. --regex-Html=/^[ \t]*<([a-zA-Z]+)[ \t]*.*>/\1/f,function/
  48. --langdef=Markdown
  49. --langmap=Markdown:.md
  50. --langmap=Markdown:+.markdown
  51. --langmap=Markdown:+.mdown
  52. --langmap=Markdown:+.mkd
  53. --langmap=Markdown:+.mkdown
  54. --langmap=Markdown:+.ron
  55. --regex-Markdown=/^#+[ \t]*([^#]+)/\1/f,function/
  56. --langdef=Json
  57. --langmap=Json:.json
  58. --regex-Json=/^[ \t]*"([^"]+)"[ \t]*\:/\1/f,function/
  59. --langdef=Cson
  60. --langmap=Cson:.cson
  61. --langmap=Cson:+.gyp
  62. --regex-Cson=/^[ \t]*'([^']+)'[ \t]*\:/\1/f,function/
  63. --regex-Cson=/^[ \t]*"([^"]+)"[ \t]*\:/\1/f,function/
  64. --regex-Cson=/^[ \t]*([^'"]+)[ \t]*\:/\1/f,function/
  65. --langmap=C++:+.mm
  66. --langmap=Ruby:+(Rakefile)
  67. --langmap=Php:+.module
  68. --langdef=Go
  69. --langmap=Go:.go
  70. --regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/f,func/
  71. --regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/v,var/
  72. --regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/t,type/