.ctags

Tue, 14 Mar 2023 01:11:40 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 14 Mar 2023 01:11:40 -0500
changeset 1086
82f517e1ae76
parent 873
303c3241cb64
permissions
-rw-r--r--

regexp match "no jump on load" filetypes

--extra=fq
--exclude=.git
--exclude=.hg
--exclude=*min.js

--regex-perl=/^\s*has[ \t]+['"]*([A-Za-z_+][A-Za-z0-9_]+)['"]*[ \t]+/\1/a,attribute,attributes/
--regex-perl=/^\s*fun +([A-Za-z_][A-Za-z0-9_]+) *[{(]/\1/s,subroutines/
--regex-perl=/^\s*method +([A-Za-z_][A-Za-z0-9_]+) *[{(]/\1/m,methods/
--regex-perl=/^\s*(around|before|after)[ \t]+['"]*([A-Za-z_][A-Za-z0-9_]+)['"]*[ \t]+/\2/x,modifier/

--langdef=Elixir
--langmap=Elixir:.ex.exs
--regex-Elixir=/^[ \t]*def(p?)[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\2/f,functions/
--regex-Elixir=/^[ \t]*defcallback[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\1/c,callbacks/
--regex-Elixir=/^[ \t]*defdelegate[ \t]+([a-z_][a-zA-Z0-9_?!]*)/\1/d,delegates/
--regex-Elixir=/^[ \t]*defexception[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/e,exceptions/
--regex-Elixir=/^[ \t]*defimpl[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/i,implementations/
--regex-Elixir=/^[ \t]*defmacro(p?)[ \t]+([a-z_][a-zA-Z0-9_?!]*)\(/\2/a,macros/
--regex-Elixir=/^[ \t]*defmacro(p?)[ \t]+([a-zA-Z0-9_?!]+)?[ \t]+([^ \tA-Za-z0-9_]+)[ \t]*[a-zA-Z0-9_!?!]/\3/o,operators/
--regex-Elixir=/^[ \t]*defmodule[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/m,modules/
--regex-Elixir=/^[ \t]*defprotocol[ \t]+([A-Z][a-zA-Z0-9_]*\.)*([A-Z][a-zA-Z0-9_?!]*)/\2/p,protocols/
--regex-Elixir=/^[ \t]*Record\.defrecord[ \t]+:([a-zA-Z0-9_]+)/\1/r,records/

mercurial