aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/_rubocop3
-rw-r--r--src/_yarn2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/_rubocop b/src/_rubocop
index b6f2017..64e4312 100644
--- a/src/_rubocop
+++ b/src/_rubocop
@@ -28,7 +28,7 @@
# Description
# -----------
#
-# Completion script for rubocop 1.82.1 (https://github.com/rubocop/rubocop)
+# Completion script for rubocop 1.86.1 (https://github.com/rubocop/rubocop)
#
# ------------------------------------------------------------------------------
# Authors
@@ -73,6 +73,7 @@ _arguments \
'(-C --cache)'{-C,--cache}'[Use result caching or not]:flag:(true false)' \
'--cache-root[Set the cache root directory]:dir:_files -/' \
'--lsp[Start a language server listening on STDIN]' \
+ '--mcp[Start an MCP server that communicates over stdio]' \
'--server[If a server process has not been started yet start the server process and execute inspection with server]' \
'(--restart-server --start-server --stop-server)--restart-server[Restart server process]' \
'(--restart-server --start-server --stop-server)--start-server[Start server process]' \
diff --git a/src/_yarn b/src/_yarn
index 7bdb750..c29927c 100644
--- a/src/_yarn
+++ b/src/_yarn
@@ -908,7 +908,7 @@ _yarn_scripts() {
fi
local -a candidates=($scripts $binaries)
- _values 'scripts' $candidates
+ compadd -a candidates
}
_yarn "$@"