diff plugin/gutentags.vim @ 89:8bf96f9f649c

Add support for project types.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 01 Dec 2015 22:04:45 -0800
parents 073e63cc0456
children 6bbed9e4c01e
line wrap: on
line diff
--- a/plugin/gutentags.vim	Tue Nov 24 21:47:26 2015 -0800
+++ b/plugin/gutentags.vim	Tue Dec 01 22:04:45 2015 -0800
@@ -54,6 +54,12 @@
 endif
 let g:gutentags_project_root += ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout']
 
+if !exists('g:gutentags_project_info')
+    let g:gutentags_project_info = []
+endif
+call add(g:gutentags_project_info, {'type': 'python', 'file': 'setup.py'})
+call add(g:gutentags_project_info, {'type': 'ruby', 'file': 'Gemfile'})
+
 if !exists('g:gutentags_exclude')
     let g:gutentags_exclude = []
 endif