Mercurial > vim-gutentags
changeset 270:edd757c1e28d
Update default excluded project roots
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 12 May 2022 14:14:30 -0700 |
parents | e60f685c560d |
children | 4e8e7047001f |
files | doc/gutentags.txt plugin/gutentags.vim |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/gutentags.txt Mon Feb 04 10:08:25 2019 +0100 +++ b/doc/gutentags.txt Thu May 12 14:14:30 2022 -0700 @@ -370,9 +370,9 @@ a `.notags` file in the root of those projects, but can be useful when you don't want to, or can't, place such a file there. - Defaults to `['/usr/local']`, which is the folder where - Homebrew is known to create a Git directory by default - on MacOS. + Defaults to `['/usr/local', '/opt/homebrew', '/home/linuxbrew/.linuxbrew']`, + which are the folders where Homebrew is known to + create a Git repository by default. *gutentags_project_root_finder* g:gutentags_project_root_finder
--- a/plugin/gutentags.vim Mon Feb 04 10:08:25 2019 +0100 +++ b/plugin/gutentags.vim Thu May 12 14:14:30 2022 -0700 @@ -51,8 +51,10 @@ call add(g:gutentags_project_info, {'type': 'python', 'file': 'setup.py'}) call add(g:gutentags_project_info, {'type': 'ruby', 'file': 'Gemfile'}) +let g:gutentags_exclude_project_root = get(g:, 'gutentags_exclude_project_root', + \['/usr/local', '/opt/homebrew', '/home/linuxbrew/.linuxbrew']) + let g:gutentags_exclude_filetypes = get(g:, 'gutentags_exclude_filetypes', []) -let g:gutentags_exclude_project_root = get(g:, 'gutentags_exclude_project_root', ['/usr/local']) let g:gutentags_resolve_symlinks = get(g:, 'gutentags_resolve_symlinks', 0) let g:gutentags_generate_on_new = get(g:, 'gutentags_generate_on_new', 1) let g:gutentags_generate_on_missing = get(g:, 'gutentags_generate_on_missing', 1)