dotfiles/config/ctags/gleam.ctags (view raw)
| 1 | --langdef=Gleam |
| 2 | --langmap=Gleam:.gleam |
| 3 | --kinddef-Gleam=f,function,functions |
| 4 | --kinddef-Gleam=t,type,types |
| 5 | --kinddef-Gleam=c,constant,constants |
| 6 | --kinddef-Gleam=v,variant,variants |
| 7 | --regex-Gleam=/^(pub\s+)?fn\s+([a-z_][a-zA-Z0-9_]*)\(/\2/f/x |
| 8 | --regex-Gleam=/^(pub\s+)?(opaque\s+)?type\s+([A-Z][a-zA-Z0-9_]*)/\3/t/x |
| 9 | --regex-Gleam=/^(pub\s+)?const\s+([a-z_][a-zA-Z0-9_]*)\s*=/\2/c/x |
| 10 | --regex-Gleam=/^ ([A-Z][a-zA-Z0-9_]+)$/\1/v/x |
| 11 | --regex-Gleam=/^ ([A-Z][a-zA-Z0-9_]+)\(.*/\1/v/x |