From ea15ee250e5b3a532234e23e913bee5bc3d69b1f Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Wed, 18 Feb 2026 09:06:11 +0900 Subject: [PATCH] simplify array completion in clang-format --- src/_clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_clang-format b/src/_clang-format index ec30e94..9e931de 100644 --- a/src/_clang-format +++ b/src/_clang-format @@ -49,7 +49,7 @@ _arguments \ '(-n --dry-run)'{-n,--dry-run}'[If set, do not actually make the formatting changes]' \ '--dump-config[Dump configuration options to stdout and exit]' \ '--fail-on-incomplete-format[If set, fail with exit code 1 on incomplete format]' \ - '--fallback-style=[The name of the predefined style used as a fallback]: :'"($styles)" \ + '--fallback-style=[The name of the predefined style used as a fallback]: :($styles)' \ '--ferror-limit=[Set the maximum number of clang-format errors to emit before stopping]:limit' \ '*--files=[Provide a list of files to run clang-format]: :_files' \ '--fno-color-diagnostics[If set, not to print diagnostics in color]' \ @@ -63,7 +63,7 @@ _arguments \ '--print-options[Print non default options after command line parsing]' \ '--qualifier-alignment=[If set, overrides the qualifier alignment style determined by the QualifierAlignment style flag]' \ '--sort-includes[If set, overrides the include sorting behavior determined by the SortIncludes style flag]' \ - '--style=[Set coding style]: :'"($styles)" \ + '--style=[Set coding style]: :($styles)' \ '--verbose[If set, show the list of processed files]' \ '(- *)--version[Display the version of this program]' \ '*: :_files'