# HG changeset patch # User Ludovic Chabant # Date 1636955988 28800 # Node ID b8eeae888aab2596b23564efc585d83bbe53f1fd # Parent 38aa9895725d5f827c42ee0ee4f12668aed9cb33 Ignore node_modules in ctags diff -r 38aa9895725d -r b8eeae888aab install.py --- 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