changeset 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 04288637e595
children 286e5b3095d0
files autoload/gutentags/ctags.vim res/ctags.options res/ctags_recursive.options
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
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)
--- a/res/ctags.options	Thu Jul 21 00:41:23 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
---recurse=yes
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/res/ctags_recursive.options	Fri Jul 22 19:25:01 2016 -0700
@@ -0,0 +1,2 @@
+--recurse=yes
+