Fix indentation size
This commit is contained in:
parent
7ea6b7a971
commit
b5da595150
8
src/_mix
8
src/_mix
|
|
@ -126,8 +126,7 @@ _1st_arguments=(
|
||||||
'--version:Prints the Elixir version information'
|
'--version:Prints the Elixir version information'
|
||||||
)
|
)
|
||||||
|
|
||||||
__task_list ()
|
__task_list () {
|
||||||
{
|
|
||||||
local expl
|
local expl
|
||||||
declare -a tasks
|
declare -a tasks
|
||||||
|
|
||||||
|
|
@ -211,7 +210,6 @@ __task_list ()
|
||||||
}
|
}
|
||||||
|
|
||||||
local expl
|
local expl
|
||||||
|
|
||||||
local curcontext="$curcontext" state line
|
local curcontext="$curcontext" state line
|
||||||
typeset -A opt_args
|
typeset -A opt_args
|
||||||
|
|
||||||
|
|
@ -222,18 +220,14 @@ _arguments -C \
|
||||||
case $state in
|
case $state in
|
||||||
(command)
|
(command)
|
||||||
_describe -t commands "mix subcommand" _1st_arguments
|
_describe -t commands "mix subcommand" _1st_arguments
|
||||||
return
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(options)
|
(options)
|
||||||
case $line[1] in
|
case $line[1] in
|
||||||
(help)
|
(help)
|
||||||
_arguments ':feature:__task_list'
|
_arguments ':feature:__task_list'
|
||||||
return
|
|
||||||
;;
|
;;
|
||||||
(test|format|run)
|
(test|format|run)
|
||||||
_arguments ':PATH:_files'
|
_arguments ':PATH:_files'
|
||||||
return
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue