1
0
Fork 0
mirror of synced 2024-06-02 07:21:09 -04:00
ultimate-vim/sources_non_forked/vim-javascript/extras/ctags
Amir Salihefendic 97e3db7fe9 Added and updated some plugins
Added: vim-ruby, typescript-vim, vim-javascript
Updated: rust-vim
2019-11-16 18:43:18 +01:00

9 lines
409 B
Plaintext

--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/