File: ctags

package info (click to toggle)
txt2tags 2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,264 kB
  • ctags: 471
  • sloc: python: 2,461; lisp: 414; ruby: 347; xml: 96; php: 95; sh: 83; makefile: 26
file content (28 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# From: Leandro Lisboa Penz @ .br
# Subject: txt2tags + ctags + taglist.vim
# Date: May 1, 2006
#
# Hi
#
# To make ctags work with txt2tags files, create a ~/.ctags with the
# following:

--langdef=txt2tags
--langmap=txt2tags:.t2t
--regex-txt2tags=/^ *(={1,5})([^=].*[^=])\1$/\1 \2/d,definition/
--regex-txt2tags=/^%!include:\s*(.*)$/\1/m,modules/

# (For that to work, you should name your files .t2t)
#
# ----------------------------------------------------------------------
#
# To have that work with the taglist.vim plugin, put this line into your
# ~/.vimrc:
#
#
#     let tlist_txt2tags_settings='txt2tags;d:Titles'
#
#
# Happy tagging, happy vimming!
#
# Leandro Penz