From 4bc7555b8020343a00ac453c6f6bb8f5739b7309 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Fri, 25 Nov 2011 16:26:13 +1300 Subject: [PATCH] Mention existing configurations --- doc/tagbar.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/tagbar.txt b/doc/tagbar.txt index 8badd58..57866ce 100644 --- a/doc/tagbar.txt +++ b/doc/tagbar.txt @@ -552,6 +552,16 @@ existing types and to add completely new types. A complete configuration consists of a type definition for Tagbar in your |vimrc| and optionally a language definition for ctags in case you want to add a new language. +Before writing your own extension try googling for already existing ones. For +example, here is one for Scala: +http://latestbuild.net/scala-ctags-and-vim-tagbar +Since those aren't "canonical" configurations and are somewhat subjective they +probably won't be included in Tagbar, but it is easy enough to just copy&paste +them into your own setup. Note that you don't have to modify Tagbar directly +like the article suggests, you can just put the configuration into your +|vimrc| (see below for more details). + + Every type definition in Tagbar is a dictionary with the following keys: ctagstype: The name of the language as recognized by ctags. Use the command >