diff autoload/gutentags.vim @ 75:d12543f11eb9

Move the default `-R` option to an overridable "global" options file. This makes it possible for a `.gutctags` file to disable the `-R` flag. Also fixes Github issue #33.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 27 Jul 2015 14:18:10 -0700
parents 661a97eaf608
children 51c1a57811b3
line wrap: on
line diff
--- a/autoload/gutentags.vim	Sat Jul 18 08:52:14 2015 -0700
+++ b/autoload/gutentags.vim	Mon Jul 27 14:18:10 2015 -0700
@@ -46,6 +46,11 @@
     return g:gutentags_plat_dir . a:filename . g:gutentags_script_ext
 endfunction
 
+" Gets a file path in the resource folder.
+function! gutentags#get_res_file(filename) abort
+    return g:gutentags_res_dir . a:filename
+endfunction
+
 " }}}
 
 " Gutentags Setup {{{