Mercurial > dotfiles
comparison 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 |
comparison
equal
deleted
inserted
replaced
512:38aa9895725d | 513:b8eeae888aab |
---|---|
275 '%USERPROFILE%\\Dropbox\\Utilities\\plink.exe'], | 275 '%USERPROFILE%\\Dropbox\\Utilities\\plink.exe'], |
276 shell=True) | 276 shell=True) |
277 | 277 |
278 | 278 |
279 def install_universal_ctags(): | 279 def install_universal_ctags(): |
280 # On Windows, u-ctags has a bug where it outputs double-backslashes. | 280 ensure_dir('~/.ctags.d') |
281 if is_windows: | 281 writelines('~/.ctags.d/global.ctags', [ |
282 ensure_dir('~/ctags.d') | 282 '--exclude=node_modules', |
283 writelines('~/ctags.d/global.ctags', [ | 283 # On Windows, u-ctags has a bug where it outputs double-backslashes. |
284 '--output-format=e-ctags' | 284 '--output-format=e-ctags' |
285 ]) | 285 ]) |
286 | 286 |
287 | 287 |
288 @only_on_nix | 288 @only_on_nix |
289 def install_tmux(): | 289 def install_tmux(): |
290 mklink('tmux/tmux.conf', '~/.tmux.conf') | 290 mklink('tmux/tmux.conf', '~/.tmux.conf') |