diff autoload/gutentags/ctags.vim @ 135:4c9e2de7d46a

Rename ctags.options to ctags_recursive.options According to https://github.com/ludovicchabant/vim-gutentags/issues/33, ctags' --recursive option was moved to an option file to allow it to be overridden by user options files. This change makes it clear what the purpose of this options file is.
author Stephen Kent <smkent@smkent.net>
date Fri, 22 Jul 2016 19:25:01 -0700
parents 6f15299869fc
children 286e5b3095d0
line wrap: on
line diff
--- a/autoload/gutentags/ctags.vim	Thu Jul 21 00:41:23 2016 +0200
+++ b/autoload/gutentags/ctags.vim	Fri Jul 22 19:25:01 2016 -0700
@@ -80,9 +80,9 @@
             endif
             let l:cmd .= ' -s "' . l:cur_file_path . '"'
         endif
-        " Pass the Gutentags options file first, and then the project specific
-        " one, so that users can override the default behaviour.
-        let l:cmd .= ' -o "' . gutentags#get_res_file('ctags.options') . '"'
+        " Pass the Gutentags recursive options file before the project
+        " options file, so that users can override --recursive.
+        let l:cmd .= ' -o "' . gutentags#get_res_file('ctags_recursive.options') . '"'
         let l:proj_options_file = a:proj_dir . '/' .
                     \g:gutentags_ctags_options_file
         if filereadable(l:proj_options_file)