Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not append defaults to g:gutentags_project_root #75

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions doc/gutentags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,8 @@ g:gutentags_project_root
Gutentags will be enabled for the project, and a tags
file named after |gutentags_tagfile| will be created at
the project root.
Defaults to `[]` (an empty |List|).
A list of default markers will always be appended to
the user-defined ones: ['.git', '.hg', '.bzr',
'_darcs'].
Defaults to `['.git', '.hg', '.svn', '.bzr', '_darcs',
'_FOSSIL_', '.fslckout']`.

*gutentags_exclude*
g:gutentags_exclude
Expand Down
3 changes: 1 addition & 2 deletions plugin/gutentags.vim
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ if !exists('g:gutentags_modules')
endif

if !exists('g:gutentags_project_root')
let g:gutentags_project_root = []
let g:gutentags_project_root = ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout']
endif
let g:gutentags_project_root += ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout']

if !exists('g:gutentags_project_info')
let g:gutentags_project_info = []
Expand Down