aboutsummaryrefslogtreecommitdiffstats
path: root/src/_include-what-you-use
diff options
context:
space:
mode:
authorPaul Seyfert <pseyfert.mathphys@gmail.com>2018-06-01 19:27:36 +0200
committerPaul Seyfert <pseyfert.mathphys@gmail.com>2018-06-01 19:27:36 +0200
commit1b4d48ef8f788fcd6e01166be2935637e7c95168 (patch)
tree8aded979b0a192cb23bb64fd03535e2b39487c8e /src/_include-what-you-use
parentsuggest -Xiwyu more than once to include-what-you-use (diff)
downloadzsh-completions-1b4d48ef8f788fcd6e01166be2935637e7c95168.tar
zsh-completions-1b4d48ef8f788fcd6e01166be2935637e7c95168.tar.gz
zsh-completions-1b4d48ef8f788fcd6e01166be2935637e7c95168.tar.bz2
zsh-completions-1b4d48ef8f788fcd6e01166be2935637e7c95168.tar.lz
zsh-completions-1b4d48ef8f788fcd6e01166be2935637e7c95168.tar.xz
zsh-completions-1b4d48ef8f788fcd6e01166be2935637e7c95168.tar.zst
zsh-completions-1b4d48ef8f788fcd6e01166be2935637e7c95168.zip
allow multiple imp files and add directories to .imp completion
Diffstat (limited to 'src/_include-what-you-use')
-rw-r--r--src/_include-what-you-use2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_include-what-you-use b/src/_include-what-you-use
index 04e5c2f..bb9902c 100644
--- a/src/_include-what-you-use
+++ b/src/_include-what-you-use
@@ -49,7 +49,7 @@ _iwyu_opts() {
'--cwd=[specify the current working directory]:current working directory:_path_files -/' \
'--howtodebug[print instructions on how to run iwyu under gdb]' \
'--howtodebug=[print instructions on how to run iwyu under gdb if file matches argument]:file for debug run:_path_files' \
- '--mapping_file=[iwyu mapping file]:iwyu mapping file:_path_files -g *.imp' \
+ '*'"--mapping_file=[iwyu mapping file]:iwyu mapping file:_path_files -g '*(/) *.imp'" \
"--no_default_mappings[do not add iwyu's default mappings]" \
'--pch_in_code[mark the first include in a translation unit as a precompiled header]' \
'--prefix_header_includes=[what to do with command line includes]:command line include treatment:(add keep remove)' \