summaryrefslogtreecommitdiff
path: root/ctags
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-06-03 18:12:03 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-06-03 18:12:03 +0100
commit4d14de712eae7d9567ad6eb94731fb547872b8a3 (patch)
treef742dd55dcc72af50b6a7c4552a45804a19dbba7 /ctags
parent4654d5c27926796979bdcf447a89e79a29eedac3 (diff)
parent7344312c66b8d7f90a741dcf5a6a14b86c2f9c42 (diff)
Merge branch 'master' of https://github.com/uvaes/dotfiles
Conflicts: vimrc
Diffstat (limited to 'ctags')
-rw-r--r--ctags9
1 files changed, 9 insertions, 0 deletions
diff --git a/ctags b/ctags
new file mode 100644
index 0000000..0c334fb
--- /dev/null
+++ b/ctags
@@ -0,0 +1,9 @@
+--langdef=latex
+--langmap=latex:.tex
+--regex-latex=/\\label\{([^}]*)\}/\1/l,label/
+--regex-latex=/\\section\{([^}]*)\}/\1/s,section/
+--regex-latex=/\\subsection\{([^}]*)\}/\1/t,subsection/
+--regex-latex=/\\subsubsection\{([^}]*)\}/\1/u,subsubsection/
+--regex-latex=/\\section\*\{([^}]*)\}/\1/s,section/
+--regex-latex=/\\subsection\*\{([^}]*)\}/\1/t,subsection/
+--regex-latex=/\\subsubsection\*\{([^}]*)\}/\1/u,subsubsection/