aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2013-04-19 01:08:04 +0200
committerPeter Odding <peter@peterodding.com>2013-04-19 01:08:04 +0200
commitdc05bed00f3685ad99f0faa785cb91fa1c7ff0f7 (patch)
treed68dbed511e4bae7d4cbe75bdb4398efb7e8271a /doc
parent07437cf4313017a525ad71d893258cc7d0700eac (diff)
parent8a0a36364615f9766b4f22abf1082552afa2d174 (diff)
downloadvim-easytags-dc05bed00f3685ad99f0faa785cb91fa1c7ff0f7.tar.gz
Merge branch 'enh-languages' of git://github.com/inkarkat/vim-easytags into inkarkat-enh-languages
Diffstat (limited to 'doc')
-rw-r--r--doc/easytags.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/easytags.txt b/doc/easytags.txt
index 138bef9..3158f7e 100644
--- a/doc/easytags.txt
+++ b/doc/easytags.txt
@@ -169,6 +169,33 @@ where you've installed Exuberant Ctags, e.g.:
>
:let g:easytags_cmd = '/usr/local/bin/ctags'
+If you entirely rely on language-specific configuration and don't have a
+general ctags program, set this to the empty string.
+
+-------------------------------------------------------------------------------
+The *g:easytags_languages* option
+
+The Exuberant Ctags tools supports many languages and can be extended via
+regexp patterns, but for some languages, separate tools with ctags-compatible
+output exist (e.g. jsctags for Javascript). To use these, the executable and
+its arguments must be configured. >
+
+ let g:easytags_languages = {
+ \ 'language': {
+ \ 'cmd': g:easytags_cmd,
+ \ 'args': [],
+ \ 'fileoutput_opt': '-f',
+ \ 'stdout_opt': '-f-',
+ \ 'recurse_flag': '-R'
+ \ }
+ \}
+
+Each key is a special language definition. The key is in the notation of
+ctags in lowercase; you still need to use xolox#easytags#map_filetypes() to
+map this to Vim's filetypes, if necessary.
+Above snippets shows the defaults; you only need to specify options that
+differ.
+
-------------------------------------------------------------------------------
The *g:easytags_file* option