Mercurial > dotfiles
diff install.py @ 513:b8eeae888aab
Ignore node_modules in ctags
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 14 Nov 2021 21:59:48 -0800 |
parents | 38aa9895725d |
children | fc35cae2fb52 |
line wrap: on
line diff
--- a/install.py Sun Nov 14 21:59:03 2021 -0800 +++ b/install.py Sun Nov 14 21:59:48 2021 -0800 @@ -277,12 +277,12 @@ def install_universal_ctags(): - # On Windows, u-ctags has a bug where it outputs double-backslashes. - if is_windows: - ensure_dir('~/ctags.d') - writelines('~/ctags.d/global.ctags', [ - '--output-format=e-ctags' - ]) + ensure_dir('~/.ctags.d') + writelines('~/.ctags.d/global.ctags', [ + '--exclude=node_modules', + # On Windows, u-ctags has a bug where it outputs double-backslashes. + '--output-format=e-ctags' + ]) @only_on_nix